做一定的转换:
s="中文";
s1= new String(s.getBytes("ISO8859_1"), "GB2312");