[Mono-list] Why UTF-16 strings in Mono.Unix?

Jonathan Pryor jonpryor at vt.edu
Mon Oct 17 19:55:18 EDT 2005


On Mon, 2005-10-17 at 19:03 +0200, Florian Weimer wrote:
> Why are UTF-16 strings used in Mono.Unix?  Doesn't this mean that some
> resources are inaccessible to programs running under Mono in a
> multibyte localeq (such as one using UTF-8)?

Care to elaborate?  System.String is always used to represent strings in
Mono.Unix and Mono.Unix.Native, but Mono's marshaler will convert the
strings to UTF-8 for the P/Invoke call.

 - Jon




More information about the Mono-list mailing list