I have a file which is ANSI encoded. However it shows Arabic letters inside it. this text file was generated by some program (I have no info on) but it seems like there is some kind of internal encoding (if I might say and if it’s possible) for the Arabic letters to make appear.
Is there such a thing? If not, how can the ANSI file show the Arabic letters?
*If possible explain in Java code
Edition 01
When I open it in Notepad++ it shows that the page encoding is ANSI. Please check this photo:
http://www.4shared.com/file/221862075/e8705951/text-Windows.html
Edition 02
you can check the file at from:
I tried opening the file in both Firefox and Opera. I had to set the character encoding to Arabic Windows-1256 to get it to display correctly in both browsers, so the file’s encoding is most likely to be that.
NOTE:
I originally posted this as a comment, but was asked to make it an answer.