Hi all,

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:

#!/bin/sh
exec /usr/bin/mono /usr/lib/mono/1.0/mcs.exe -codepage:utf8 "$@"

That's for utf8 encoding.

2 DEVELOPERS:
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.

--------------------------
Slava.
_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to