This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Help needed on character encoding....
Character encoding problem
Converting special characters to hex code
identify and replace special character
Need help with Charset class issue ... :-)