[我已经尝试过波斯语和阿拉伯文拼音库,但是当存在塔什基尔时,它们都存在与“ meen”和“ noon”有关的问题,有人解决了这个问题吗?
这是问题:
我使用了这个改进的库,在这里效果更好:
https://github.com/agawish/Better-Arabic-Reshaper/
然后使用以下代码
ArabicUtilities aru=new ArabicUtilities();
aru.getArabicEnabledTextView(getApplicationContext(), tv);
tv.setText(aru.reshape("\n"+edit)+"\n");