File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Create String from BIG5 hex value
 
Similar Threads
Help needed on character encoding....
Need help with Charset class issue ... :-)
identify and replace special character
Character encoding problem
Converting special characters to hex code