[Mono-devel-list] mono and cyrillic symbols
slava at z.org.ua
Fri Jul 15 04:09:22 EDT 2005
Pedro Martínez Juliá helped me to find a solution for a problem of wrong
encoding for non-latin symbols on aspx pages.
For persons, who is interested, here is a solution: add argument
-codepage:utf8 to command line for mcs.exe in mcs launch script.
On my system it's /usr/bin/mcs, so it looks like:
exec /usr/bin/mono /usr/lib/mono/1.0/mcs.exe -codepage:utf8 "$@"
That's for utf8 encoding.
Maybe there is a sense to get an encoding for asp.net pages from
argument fileEncoding of globalization section in web.config,
and use it as codepage argument to mcs.exe? Because for multiply asp.net
sites with different page encodings that brutal hack
doesn't help, if those sites are on a single hosting.
More information about the Mono-devel-list