File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Create String from BIG5 hex value" Watch "Create String from BIG5 hex value" New topic

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:
subject: Create String from BIG5 hex value
jQuery in Action, 3rd edition