wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Create String from BIG5 hex value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Create String from BIG5 hex value" Watch "Create String from BIG5 hex value" New topic
Author

Create String from BIG5 hex value

Dominic Steng�rd
Ranch Hand

Joined: Feb 05, 2001
Posts: 186
Hi JavaGurus!

I have two characters encoded in BIG5 hex code:
1) a578
2) a55f

These codes represent two characters in Chinese.
I need to know the smartest way of having them converted to a String?

The String constructor can handle the following:
new String(byte[] bytes, String charsetname) ...

Best regards


Dominic Steng�rd<br />Sun Certified Java 2 Programmer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Create String from BIG5 hex value
 
Similar Threads
identify and replace special character
Need help with Charset class issue ... :-)
Converting special characters to hex code
Help needed on character encoding....
Character encoding problem