Android Studio resource file Copy-Paste issue for Devnagari font

320 Views Asked by At

In my application, I have few devnagari text which I want to copy as a text and create a resource text in string file. But when I copy text from pdf or word and paste it in strings.xaml file the text gets changed. My source for this text is a pdf file which has many resource text which i want to use as a resource text. I have the TTF font installed on my machine and in pdf/word or text file it shows correctly but when paste in Android Studio xml resource file it gets corrupted.

How I can get the same text in resource file so that I can use it in my application. Below is the sample invalid text which I tried to copy and paste in resource file is shown.

Incorrect Text displayed in string resource file is : ZVy Z

Correct Text which i want is : नूतन

Please note this correct text is created from different source (Google Translate).

Thanks in advance,

IamHuM

0

There are 0 best solutions below