aspose file tools
The moose likes Java in General and the fly likes How to convert arabic into UCS hexadecimal code? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How to convert arabic into UCS hexadecimal code?" Watch "How to convert arabic into UCS hexadecimal code?" New topic
Author

How to convert arabic into UCS hexadecimal code?

Murtaza Lokhandwala
Ranch Hand

Joined: Jan 28, 2010
Posts: 35
I have a code like this-



It works when i terminate the append("&#x") but when i work as it is by inputting an arabic word, it gives some undefine result ..
i need result like this- "ﺮ" "ﻌ" etc

moderator edit: added code tags
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2343

Murtaza,

I have added code tags to your code, to make it more readable, and moved your topic to our "Java in General" forum.

OCUP UML fundamental
ITIL foundation
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to convert arabic into UCS hexadecimal code?
 
Similar Threads
parsing data and storing in the xml
code to handle arabic shaping text
Generic type casting
Unicode parsing exception
Convert a String into a Regular Expression