[Mono-devel-list] TextInfo.ANSICodePage

Miguel de Icaza miguel at ximian.com
Sun Dec 12 16:29:43 EST 2004


Hello,

> Right now, TextInfo.ANSICodePage is marked MonoTODO and always returns
> 0.
> 
> Would anyone object to the default return value being made `1252', the
> value used for the invariant culture (and most other cultures as well).
> This will make code that depends on this working function correctly for
> most people.

Makes sense.

> Of course, it should still be marked MonoTODO.

Why would it be flagged MonoTODO, if that is the correct codepage?

Could you do the same fix for the other methods?  This is clearly a big
bug (the code page numbers are standard, so they wont change from
machine to machine or configuration to configuration).

And can you also apply these to the 1-0 branch?

Miguel



More information about the Mono-devel-list mailing list