[Mono-list] string encoding
Miguel de Icaza
miguel@ximian.com
28 Jun 2003 23:43:41 -0400
Hello,
> Dietmar's recently announced custom marshaler availability. That may be
> the best current alternative for a solution for utf8 strings, although
> it would be nice to get a definitive call from the runtime guys on what
> behavior mono wants to expose. Maybe mono could lobby the ECMA to add
> CharSet.Utf8 and implement it in the meantime? It would be nice to be
> able to just generate CharSet=CharSet.Utf8 in DllImports.
We did that a few weeks ago, when we ran into problems with some Python
for .NET bridge.
The Python runtime can be compiled to be UCS2 or UCS4, and there is no
way for a single binary to work with either version of Python, or to
choose the particular version.
Miguel