I installed Mono and localization Program,but I find it has some problems and the 
problems are different Linux and WindowsXP.


The Codes of my program:
___
using System;

namespace Kuaff.Test{
        public class Hello {
                public static void Main() {
                        Console.WriteLine("您好");
                }
        }
}
___

On Windows Console or Linux Xterm,"mcs Hello.cs" ,then "mono Hello.exe",Problem comes.
There are 乱码 (Encode Probelm). and I use "mcs -codepage:936 Hello.cs",problem as 
same.

I tried many times.

In Window,I use native2ascii (a tool from JDK),change Hello.cs into Hello1.cs 
(UTF8),then "mcs Hello1.cs",
then "mono hello1.exe", It works well. but In linux problem as same.

      
How to sovle it?

How to program with chinese?

<<FoxmailIcon: fox.gif>>

Reply via email to