String b = --some chinese or other language text ---
StringBuffer str = new StringBuffer();
for(int i=0; i<b.length(); i++)
{
str.append(Integer.toHexString(b.charAt(i)));
}
System.out.println(" changed:--- "+str.toString());
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment