[Mono-bugs] [Bug 338962] Mono deletes all russian letters from page

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 5 13:45:44 EST 2007


--- Comment #3 from Marek Habersack <mhabersack at novell.com>  2007-11-05 11:45:44 MST ---
MS ASP.NET uses the system codepage by default, yes, so files created by VS and
compiled by csc will naturally have the same encoding.

Mono uses Encoding.Default when reading the files which, in theory, should give
the same effect. On Linux, especially when running under Apache, there might be
times when no LANG or LC_* variable is present in the apache environment (that
depends on your distribution, but I think most modern ones clear the apache
environment on server startup) then Encoding.Default will be set to ASCII
encoding, which will ruin the input. If you're running under Apache, please
make sure that the LANG environment variable is set and that it sets up the
same codepage as under Windows. 
If Mono under Windows fails to return the correct system encoding using
Encoding.Default, it might be a bug in System.Text.Encoding.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list