我尝试了Farsi和Arabicreshaper库,但是当存在Tashkeel时,两者都有一些有关" Meen"one_answers" NOON"的问题,有人解决了这个问题吗?
这是问题:
http://postimg.org/image/8wjlnhvqt/
我已经使用了此改进的库,在此效果更好:
https://github.com/agawish/better-arabic-reshaper/
然后使用以下代码
ArabicUtilities aru=new ArabicUtilities();
aru.getArabicEnabledTextView(getApplicationContext(), tv);
tv.setText(aru.reshape("n"+edit)+"n");