[Mono-dev] mono_string_new and corrupted strings

Rodrigo Kumpera kumpera at gmail.com
Wed Nov 28 13:45:19 UTC 2012


You need to fix the string to become valid utf8 before passing it to
mono_string_new.

As an alternative, you can use either mono_string_new_utf16
or mono_string_new_size
and manually decode the broken string.

On Wed, Nov 28, 2012 at 6:44 AM, Bartosz Przygoda <bprzygoda at gmail.com>wrote:

> mono_string_new
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20121128/94906604/attachment-0001.html>


More information about the Mono-devel-list mailing list