permaculture playing cards*
The moose likes I/O and Streams and the fly likes Problems while trying to write arabic letters to a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Problems while trying to write arabic letters to a file" Watch "Problems while trying to write arabic letters to a file" New topic
Author

Problems while trying to write arabic letters to a file

ilias basha
Ranch Hand

Joined: Nov 27, 2008
Posts: 55

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.
 
Don't get me started about those stupid light bulbs.
 
subject: Problems while trying to write arabic letters to a file