But when I run this, I see unicode characters. Text should be displayed in Arabic, but why is it not being displayed in Arabic ?
I have also tried saving the text file in UTF-8 encoding and then reading it by passing the "UTF-8 " encoding in the constructor, but I am still facing this problem.
If I hardcode the unicode characters in a StringItem, then the text is displayed in Arabic.
I think that I met this problem before in a different situation.
If my guess is correct, then this is a typical problem, since when you read unicode in, the unicode is treated ASIS, that means String literal "\u554A", instead of Chinese 啊
How to do it, write a conversion static method, and change it to char array.