[Mono-dev] GBK support error

zhu shi song zhushisongzhu at yahoo.com
Tue Nov 15 07:15:01 EST 2005


Dear lists,
 I need to convert string "aÓÐÍø" to byte array.

 Encoding e = Encoding.GetEncoding("GBK");	    	      
 
 byte[] bytebuf = e.GetBytes("1ÓÐÍø");

 Under Windows, I got "31D3D0CDF8". But under Mono,
the result is "0031D3D0CDF8".

Who can help me?

  tks
   zhu




		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com



More information about the Mono-devel-list mailing list