[Mono-list] Wrapper additions
Miguel de Icaza
20 Sep 2001 11:27:00 -0400
> I think we shouldn't use the string type to pass char* data back and forth
> to unix APIs. The problem is: string is supposed to be unicode chars, but
> what encoding does that API use? latin1? utf8? We don't know and the lame
> attribute MS added (CHAR_SET_ANSI) is only usable with their APIs.
> We should probably use byte and have the caller decide the proper encoding.
> Comments welcome.
I think the return value from opendir is supposed to be utf-8 these
If anything, we should have a utf-8 wrapper was well for our PInvoke