String c = "中文";
String s = String.valueOf(c);
byte[] bytes = s.getBytes();
for(int i=0; i<bytes.length; i++)
System.out.print(Integer.toHexString(bytes[i] & 0xff));
String c = "中文";
String s = String.valueOf(c);
byte[] bytes = s.getBytes();
for(int i=0; i<bytes.length; i++)
System.out.print(Integer.toHexString(bytes[i] & 0xff));