Why do Arabic characters behave as separate characters when styling single Arabic character?

后端 未结 6 1429
心在旅途
心在旅途 2020-12-31 06:56

Basically what I am trying to accomplish is Arabic characters misuse highlighter !

To make it easy for understand I will try to explain a similar functionality but f

6条回答
  •  佛祖请我去吃肉
    2020-12-31 07:41

    You should take care of Beginning , Middle, End and Isolated characters. The complete list is available here

    Use ufe94 instead of u0629

    arabicWord.value.replace(/\u0647/,''+ unescape("%ufe94")+'')+
    

提交回复
热议问题