[Mono-bugs] [Bug 79458][Wis] Changed - ANSI strings are UTF-8 but should be in native encoding

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 22 05:47:21 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by kornelpal at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79458

--- shadow/79458	2006-09-21 11:07:06.000000000 -0400
+++ shadow/79458.tmp.21491	2006-09-22 05:47:21.000000000 -0400
@@ -80,6 +80,16 @@
 >won't be acceptable.
 
 Utf8StringMarshal.zip contains an actual implementation.
 
 Note that encoding conversion is costy anyway but I don't think that 
 it's worse than an unmanaged conversion.
+
+------- Additional Comments From kornelpal at gmail.com  2006-09-22 05:47 -------
+I had a look at Gtk# and I found that it has a Marshaller.cs that 
+does UTF-8 conversion and it allocates memory using g_malloc.
+
+This means that an ANSI string change to Encoding.Default would not 
+affect Gtk# at all.
+
+But it still would be much easier to use custom marshalers in Gtk# 
+as well.


More information about the mono-bugs mailing list