[Mono-bugs] [Bug 53843][Cri] Changed - source file encoding problem

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 4 Feb 2004 15:16:22 -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=53843

--- shadow/53843	2004-02-03 21:54:17.000000000 -0500
+++ shadow/53843.tmp.15872	2004-02-04 15:16:22.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 53843
 Product: Mono/Compilers
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Critical
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: shiziye@hotmail.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -20,6 +20,13 @@
 I install redhat 9.0 with this encoding. If I type 'locale' in Console, it
 will show Lang="GB2312". 
 I think C# compiler should consider the default encoding of the eviroment.
 But it's not. It can not compile the source file encoding in gb2312 correctly.
 Although, I can compile my source file with microsoft csc. I still want to
 compile it with Mono mcs for ease.
+
+------- Additional Comments From miguel@ximian.com  2004-02-04 15:16 -------
+Try compiling like this:
+
+mcs -codepage:936 file.cs
+
+