英文:
How do I replace Persian Unicode characters with what is shown?
问题
我正在处理一个之前是阿拉伯语的项目,但我正试图向其中添加波斯字符(例如 گ چ پ ژ)。
所以我将波斯字符导入其中,但是与其显示新字符的适当形式,例如在“باشگاه”(U+FB95)中显示为ـگـ,它显示为孤立形式,就像在“باشگاه”(U+06AF)中显示的گ一样。
注意:这个单词中的ش和گ、ا之间没有任何空格,只是为了显示它在项目中的显示方式。
其他一些示例:
تای ی د -> تایید
بازی ک نان -> بازیکنان
所以,是否有任何方法可以用它们的适当形式替换这些字符?
英文:
I'm working on a project which was Arabic before but I'm trying to add Persian characters (like گ چ پ ژ ) to it.
So I Imported Persian Characters to it but instead of showing new Characters in their appropriate form like ـگـ in باشگاه (U+FB95) it shows the isolated form like گ in باش گ اه (U+06AF).
note: There is not any spaces between ش and گ and ا in that word, it's only there to show how it's shown in the project.
Some other Examples:
تای ی د -> تایید
بازی ک نان -> بازیکنان
So is there any way to replace these characters with their appropriate form?
专注分享java语言的经验与见解,让所有开发者获益!
评论