[Mono-bugs] [Bug 28012][Nor] New - '\uXXXX' problem in runtime and compiler

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
19 Jul 2002 17:20:47 -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=28012

--- shadow/28012	Fri Jul 19 13:20:47 2002
+++ shadow/28012.tmp.14365	Fri Jul 19 13:20:47 2002
@@ -0,0 +1,41 @@
+Bug#: 28012
+Product: Mono/Runtime
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gonzalo@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: '\uXXXX' problem in runtime and compiler
+
+This is the test program:
+
+using System;
+public class test
+{
+        static public void Main ()
+        {
+                Console.WriteLine ('\u00D1');
+        }
+}
+
+First: the runtime
+---------------------------
+When compiled with csc:
+run with MS runtime output: Ñ
+run with mono runtime output: Ñ
+
+Second: the compiler
+---------------------
+When compiled with mcs, it produces:
+ldc.i4.s 49             (49 -> '1')
+when compiled with csc:
+ldc.i4     0xd1