I'm having problems marshalling strings when calling functions in an existing
C library that uses wide character strings. If I marshal a string using
CharSet.Unicode, I get a UTF-16 string passed into the C code. This seems
like a bug to me since the Mac uses UTF-32 for its wide character (Unicode?)
strings. So what is the proper way to marshal C# stings into wide character
strings that can be used in C, C++, and Obj-C?


--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Marshalling-strings-to-wide-character-strings-tp3761154p3761154.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to