[Mono-list] string encoding
Havoc Pennington
hp@redhat.com
Sun, 22 Jun 2003 15:06:24 -0400
On Sun, Jun 22, 2003 at 08:38:34PM +0200, Jaroslaw Kowalski wrote:
>
> Charset.Ansi is dependent on windows installation. In Polish Windows it uses
> 1250 codepage.
> All ANSI versions of WIN32 APIs (like GetCurrentDirectoryA) use this
> codepage.
Yikes. Maybe on UNIX then CharSet.Ansi should be interpreted as "the
current locale encoding"?
That leaves no way to marshal functions that take UTF-8 regardless of
locale as GTK does, but Mono could add some nonstandard extension to
make that easier I suppose.
Havoc