[Mono-devel-list] mono and cyrillic symbols

Slava Petrenko slava at z.org.ua
Fri Jul 15 04:09:22 EDT 2005


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.



More information about the Mono-devel-list mailing list