[Mono-bugs] [Bug 51528][Wis] New - Encoding problem

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 1 Dec 2003 01:19:07 -0500 (EST)


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 shiziye@hotmail.com.

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

--- shadow/51528	2003-12-01 01:19:06.000000000 -0500
+++ shadow/51528.tmp.8044	2003-12-01 01:19:06.000000000 -0500
@@ -0,0 +1,28 @@
+Bug#: 51528
+Product: Mono/MCS
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: shiziye@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Encoding problem
+
+I am a chinese, I write source code int gb18030 encoding.
+For example, I may write:
+  string str = "??"; // ?? is a chinese word encoding in gb18030
+When mcs compile the source code, it can not read the source code
+correctly. Variable str is not the correct Unicode string correspoding to
+my chinese encoding. 
+When I type locale in the console. All the locale enviroment variable is
+GB18030;
+I think mcs should read the source code in the default encoding of the
+system. Then translate it to Unicode to process.