[Mono-dev] Re: [Mono-devel-list] mcs patch for default encoding
atsushi at ximian.com
Mon Aug 22 04:58:37 EDT 2005
Marek Safar wrote:
> Hello Eno,
>> Any comments on this patch? If we leave this problem as is, most
>> of native-language dependent applications won't compile fine
>> (as I experienced on many Japanese sources).
> Probably, we will have to fix this bug first.
Agreed. In fact, I was also fixing bug #75065, maybe duplicate.
I have a fix for UTF8Encoding, but it uncovered another mcs bug
which does not handle files with BOM with specific encoding.
To summarize the situation:
- Currently driver.cs does not process source files with
- UTF8Encoding.cs does not handle U+FEFF correctly.
- When we fix UTF8Encoding.cs to handle U+FEFF, it starts
to reject some source files which has BOM.
- Even if we fix driver.cs to let StreamReader consider BOM
(currently we disable it), there are still some files
Am digging into this bug in depth. Hopefully I'll post a set of
More information about the Mono-devel-list