https://bugzilla.novell.com/show_bug.cgi?id=422564

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=422564#c7


Jonathan Pryor <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]




--- Comment #7 from Jonathan Pryor <[EMAIL PROTECTED]>  2008-09-08 19:56:24 MDT 
---
The "generic C# way" is do one of:

1. Have your native C lib produce UTF-8 encoded strings on Unix and "normal"
ANSI strings on Win32.

2. Alter your C library to use UTF-16 strings and alter your C# wrapper to use
[MarshalAs(UnmanagedType.LPWStr)].

ANSI strings are largely broken anyway, as they can only ever contain a subset
of all strings that the user can produce, so (2) is the saner solution...


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to