> I just want to know how to convert the encode method. > > Such as: > > "中国人。" is a sentence in GBK code. > (1)how to convert it into unicode? > (2)and how to convert it back? > (3)if the user's OS is Japanese , how to convert the unicode message into Shift-JIS > as "中国人"? > > Thanks a lot!
For Shift-JIS see:: http://homepage1.nifty.com/nomenclator/perl/ShiftJIS-CP932-MapUTF.html

