[Mono-bugs] [Bug 78703][Nor] Changed - String constructors that take sbyte* should use Encoding.Default rather than UTF-8 and Latin-1

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jul 15 17:04:09 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.


--- shadow/78703	2006-07-15 16:34:03.000000000 -0400
+++ shadow/78703.tmp.26785	2006-07-15 17:04:09.000000000 -0400
@@ -31,6 +31,28 @@
 (MS.NET probably uses MultiByteToWideChar with CP_ACP.)
 ------- Additional Comments From miguel at ximian.com  2006-07-15 16:34 -------
 That sounds sensible. 
 Do you have a  patch + tests? 
+------- Additional Comments From kornelpal at gmail.com  2006-07-15 17:04 -------
+This message contains another patch (look for an attachment.obj link 
+at the very end):
+This message contains a patch (look for an attachment.obj link at 
+the very end):
+The managed code (.cs files) in the first patch are drafts don't use 
+them. The managed code in the second patch is considered by me to be 
+Unamanged code (.c files) differ in that the second one uses a 
+wrapper while the first one directly maps .ctor to CreateString.
+Note that the first patch was approved by Zoltán while the second 
+one was not commented by anyone yet. I'm waiting for his response 
+which marshal.c code of these two does he prefer.

More information about the mono-bugs mailing list