How to get Unicode code of arabic presentation forms A/B using VBA RRS feed

  • Question

  • Taking a string and using ChrW and AscW to get the Unicode code for a certain character is no problem and works nicely.

    However, in Arabic it seems to be a bit different...

    Depending on the text rendering of a word, Arabic characters (Unicode 0x0600 - 0x06FF) are "melted" and different Unicode codes are used instead of the single character ones. Those are stored in the Arabic Presentation Forms A and B (Unicode 0xFBF0 - 0xFBFF and 0xFC00 - 0xFCF0).

    Unfortunately I could not yet find a a possibility to get hold of the real Unicode codes used in the string. Any ideas?

    Thanks in advance for your help!

    Tuesday, September 10, 2013 12:28 PM