• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

convert to utf encoded characters

 
Vijay Raj
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic