[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 16:34:03 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 miguel at ximian.com.

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

--- shadow/78703	2006-06-24 17:56:08.000000000 -0400
+++ shadow/78703.tmp.26287	2006-07-15 16:34:03.000000000 -0400
@@ -2,14 +2,14 @@
 Product: Mono: Runtime
 Version: unspecified
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
-Priority: Wishlist
+Severity: Unknown
+Priority: Normal
 Component: misc
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: kornelpal at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
@@ -26,6 +26,11 @@
 The value parameter is assumed to point to an array representing a string 
 encoded in ASCII; that is, the string is encoded using the ANSI code page.
 
 This is a nonsense as ASCII is a specific code page while ANSI code page 
 is CP_ACP. But even according the documentation it's Encoding.Default. 
 (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? 


More information about the mono-bugs mailing list