Hello, > If you're going to do this, you need to let mcs know that your file is > UTF8 encoded. > > By default, mcs assumes input files are Latin-1 encoded and will not > parse utf8 characters correctly (unless you have a byte-order marker at > the beginning of the file, which it doesn't seem your file has). > However, you can pass /codepage:utf8 to get mcs to recognize your file > as UTF-8 encoded like so:
mcs assumes the codepage based on the current locale. So if your locale contains utf8, it will use utf8. Otherwise as you said, it will use things like Latin1 > mcs /debug /codepage:utf8 /out:test.exe Test.cs > > Hope this helps, > > -Brad > _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
