In my previous question, I asked about conversion of Special Chars to Hex.
Hex value of "ㅂ" is "e38582"
Now I've got hex value in String.
String hex = "e38582";
How to convert this hex value to get the special char.( In this example it's "ㅂ" )
I've tried this, but getting IllegalFormatConversionException :
String hex = "e38582";
BigInteger value = new BigInteger(hex, 16);
String str = String.format("%c", value );
System.out.println("String : "+ str);
Convert the hex to byte array. Convert a string representation of a hex dump to a byte array using Java?
Interpret the byte array with the correct encoding (based on your previous question, UTF-8):
Here is some code I've written, it will convert your hex string into Java utf16 code units. There code units can then be entered into something like your web browser or an EditText View in Android and the conversion to a Character will be done for you.
Try this method from mkyong's blog :
}