经过以下方式转码就可以正确转换了: public class Test{ public static void main(String g[]) { String s = "12345abcd"; byte b[] = s.getBytes(); String t = new String(b); System.out.print(t); } } 转自:http://soniccyj.bokee.com/6175850.html