[Mono-devel-list] 7 regressions appeared for MS.VB.dll becauseof change in mcs

Jonathan Gilbert 2a5gjx302 at sneakemail.com
Sun Oct 31 14:29:37 EST 2004

At 12:08 PM 31/10/2004 -0500, Miguel de Icaza wrote:
>> <rant>
>> As mcs no more defaults to the encoding set in the LANG environment
>> variable (mine says LANG=en_US.UTF-8) one edits sources with, say,
>> gedit like I do where you see every accented letter or another
>> international character correctly represented in the source and then
>> mcs compiles then all wrong.
>It never defaulted to it.  You just upgraded your OS and that is why you
>get that behavior.
>If you want the VB tests to pass completely, you should instead encode
>any non-7bit characters using the \uXXXX syntax.

In Visual Studio .NET, one of the save options is "Unicode (UTF-8 with
signature)." Obviously, mono cannot arbitrarily detect what encoding a
given byte sequence is in (though there are some good heuristics out
there), but if an explicit signature is present, will mono treat the file
as UTF-8?

Jonathan Gilbert

More information about the Mono-devel-list mailing list