Converting Arabic text to displayable HTML codes

In this post I will present how to generate HTML codes for the arabic letters and the escap characters as well.

for each character there is HTML code representing this letter the following table represnts some mapping between letters and its HTML codes:

Character

 HTML Code

 ~

~ 

 أ

&#1571 

ش 

ش 

 ى

&#1610 

 =­

= 

So I have wrote a java utility class which is inspired from the following post
http://www.javapractices.com/topic/TopicAction.do?Id=96

the EscapeChars java class is attached

AttachmentSize
EscapeChars.java23.02 KB

Thanks for sharing this very

Thanks for sharing this very helpful information. I need these things for my projects it needs to be in Arabic text to my whole output.
cartuchos baratos

Powered by Drupal - Design by artinet