[Mono-bugs] [Bug 76758][Maj] New - String with nonstandard characters is not handled correctly.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Nov 19 04:23:12 EST 2005


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 admin at svwebhosting.com.

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

--- shadow/76758	2005-11-19 04:23:12.000000000 -0500
+++ shadow/76758.tmp.22025	2005-11-19 04:23:12.000000000 -0500
@@ -0,0 +1,57 @@
+Bug#: 76758
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: Tested under Windows XP SP2 and CentOS 3.4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: admin at svwebhosting.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: String with nonstandard characters is not handled correctly.
+
+Description of Problem:
+String with nonstandard characters is not handled correctly.
+
+The attached example uses the string used to query the status of quake 3
+based game servers ( ÿÿÿÿgetstatus ) .
+
+It stores the value to a string
+Then generates a byte array from that string
+Then prints out each byte in the array
+
+Actual Results:
+
+Under Windows XP and Mono 1.1.10:
+----------------------------
+My String:     getstatus
+String Bytes:
+255  255  255  255  103  101  116  115  116  97  116  117  115
+----------------------------
+
+Under CentOS 3.4 and Mono 1.1.10:
+----------------------------
+My String: ÿÿÿÿgetstatus
+String Bytes:
+195  191  195  191  195  191  195  191  103  101  116  115  116  97  116 
+117  115
+----------------------------
+
+Expected Results:
+----------------------------
+My String: ÿÿÿÿgetstatus
+String Bytes:
+255  255  255  255  103  101  116  115  116  97  116  117  115
+----------------------------
+
+How often does this happen? 
+Always
+
+Additional Information:
+See attached source code and exe.


More information about the mono-bugs mailing list