[Mono-bugs] [Bug 28050][Nor] Changed - System.UInt32.Parse(string) can't deal with trailing \u0000 but MS impl can.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
22 Jul 2002 17:22:49 -0000


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 gonzalo@ximian.com.

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

--- shadow/28050	Sun Jul 21 20:36:00 2002
+++ shadow/28050.tmp.16261	Mon Jul 22 13:22:49 2002
@@ -5,13 +5,13 @@
 OS Details: debian sid with alp cvs packages
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: CORLIB
-AssignedTo: mono-bugs@ximian.com                            
+AssignedTo: gonzalo@ximian.com                            
 ReportedBy: kiwnix@yahoo.es               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: System.UInt32.Parse(string) can't deal with trailing \u0000 but MS impl can.
@@ -61,6 +61,11 @@
 }
 
 ------- Additional Comments From kiwnix@yahoo.es  2002-07-21 20:35 -------
 I think it can be solved adding 0x0000 to WhiteChars array in
 mcs/class/corlib/System/String.cs , but maybe it will break many
 things :-/
+
+------- Additional Comments From gonzalo@ximian.com  2002-07-22 13:22 -------
+i've also tested: "30\u0000\u00001"
+and it displays: 30__1 for the string and 30 for the number.
+So it seems MS stops when a \u0000 encountered.