Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 PDF 文件中有一些阿拉伯语文本。我复制并粘贴在 Android Studio 中。它显示了 Android Studio 中的一些特殊字符。当我在蓝色堆栈中运行它时,它会显示一些框。我附上所有三个视图。谢谢你的帮助。
从此 PDF 文件复制的阿拉伯文本
阿拉伯文本在蓝色堆栈中显示为框/特殊字符
您必须使用Bidi类并将编码更改为UTF-8. 为了这。
UTF-8