[Mono-devel-list] Re: [patch] support utf8 strings in c# module
Joel Reed
joel.reed at ddiworld.com
Tue Nov 2 13:54:21 EST 2004
> >Afaict, SWIG cvs will only work properly across M$ .net and mono for
> >ASCII strings. 8-bit single byte encodings will not work
> >properly because M$ interperts them as ANSI, whereas mono expects UTF8.
> >
> Is this something that Mono are aware of and what is specified in the C#
> standard? The Mono team will probably want to fix any inconsistencies
> with MS .NET.
i did ask on #mono and it was an acknowledged difference
that _might_ be changed if someone submitted a patch which
determined the charset based on LANG environmental variable.
But assuming 8bit strings are UTF8 happens to make working with
Gtk# nice for them - which i think they care about alot.
after thinking about the two options i actually like mono's
choice better than assuming 8-bit strings are ANSI (cp1252).
jr
--
------------------------------------------------------------
Joel W. Reed 412-257-3881
---------- http://home.comcast.net/~joelwreed/ ----------
More information about the Mono-devel-list
mailing list