aspose file tools*
The moose likes Beginning Java and the fly likes convert to utf encoded characters 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 "convert to utf encoded characters" Watch "convert to utf encoded characters" New topic
Author

convert to utf encoded characters

Vijay Raj
Ranch Hand

Joined: Oct 10, 2005
Posts: 110
I have a test file that has text in Hindi language. I want it to be converted to UTF encoded, that is convert all characters to \udddd format.

Will native2ascii be of any help. I tried it but to no avail. Is there any other easy way, that is w/o writing any java code.

regards,
vijay.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

native2ascii should be ok if your language is supported.
Check the supported languages here : (jdk1.4.2)
http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html

PS: /uXXXX is not UTF. It's Unicode-encoded characters.
[ March 17, 2006: Message edited by: Satou kurinosuke ]

[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: convert to utf encoded characters
 
Similar Threads
Question on Characetr Encoding to UTF-8
Escaping Multilingual strings/UTF-8
setting utf-8 in jsp
Handling Chinese characters while retriving fromDB using JDBC
Save File As UTF-8