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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 12 Dec 2003 08:22:28 -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 miguel@ximian.com.

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

--- shadow/51528	2003-12-01 01:19:06.000000000 -0500
+++ shadow/51528.tmp.28906	2003-12-12 08:22:27.000000000 -0500
@@ -1,16 +1,16 @@
 Bug#: 51528
-Product: Mono/MCS
+Product: Mono/Compilers
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
-Component: Misc
+Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: shiziye@hotmail.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
@@ -23,6 +23,19 @@
 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.
+
+------- Additional Comments From miguel@ximian.com  2003-12-12 08:22 -------
+MCS uses the 28591 code page by default (ISO-Latin-1), I am not sure
+it is a great idea to change the default to be environment dependant.
+
+You might want to try instead:
+
+mcs -codepage:936 source.cs
+
+Please tell me if that fixes your problem.
+
+Am setting the bug to `NEEDINFO', please update the bug status with
+any further information.