Prem aswin wrote:when I open the text file the arabic character contain like "ÇáåæÊíá /ÔÑßÉ ÇáÍÓíäÇä"
Where and how are you displaying the text? Does your Java program display them in a console window or terminal window, or in a Swing GUI?
Prem aswin wrote:but its showing ???...
Are you using a font that contains Arabic characters to display the text? If you see question marks or empty boxes, it's usually a sign that you are using a font that doesn't contain Arabic characters.
To specify with which encoding you want to read the file, and not convert it afterwards, do something like this: