Some of the rules :

To type diacritic letters, follow these rules:

  1. Typing a diacritic letter after a basic letter: If you type a basic letter followed by a diacritic letter, the diacritic letter will replace the basic letter. For example, if you type `'`ت `'` followed by `'`ه `'`, it will result in `'`ث `'`.
  2. Typing a diacritic letter after a space: If you type a diacritic letter after a space, it will be treated as a new letter and not a diacritic. For example, if you type `'` `'` followed by `'`ه `'`, it will result in `'` ه `'`.
  3. Typing a diacritic letter after a non-basic, non-diacritic letter: If you type a diacritic letter after a non-basic, non-diacritic letter, it will be treated as a new letter and not a diacritic. For example, if you type `'`ا `'` followed by `'`ه `'`, it will result in `'`اه `'`.
Diacritic LetterCombination
ت'ث
ح'خ
د'ذ
س'ش
ص'ض
ط'ظ
ع'غ
ءaأ
اaآ
ي'ى
ه'ة
ق'ڨ
ك'ڭ
ر'ز