In the php section a similar problem was discussed. My problem has to do with either NotePad++ or either the AutoHotKey compiler. The Arabic text inside Notepad++ can by typed, saved and loaded correctly. When I compile with AutoHotKey and display the string containing the Arabic I typed with listvars, it shows a jumble of characters. Not just question marks like in the problem formulated at the php section, rather stuff like:
ط§ظ„ظ…ط¤ظ„ظپ
ںéè¢ں
Sometimes, some of the character are preserved, but slightly altered, sometimes it completely messes up.
In NotePad++ I experimented with some Arabic encoding settings under character settings. There are three settings in total, all of which scramble up my Arabic writing in NotePad++ These are:
- ISO 8859-6
- OEM 720
- WINDOWS 1256
Lastly, I can read Arabic correctly from the clipboard, save it to a txt file, read from it again and display it correctly.