Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems while trying to write arabic letters to a file

 
ilias basha
Ranch Hand
Posts: 55
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anyone,

I have installed Arabic language in Windows XP using i386 service pack. And I tried to write one arbic String(hardcoded in a String variable) to one text file using Java program.I used one arabic font named arialuni.ttf. But the problem is, the input arabic string and output arabic string are looks different in each characters. I hope the arabic font is not matched with windows arabic. could any one solve this issue that how to write arabic characters in original format as we received from any source.?

Thanks in advance for your help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic