简体   繁体   中英

Display Unicode character in Android webview

I did an android application which displays malayalam ascii encoded fonts in webview. Now I have to display unicode character set (like &#3384 ; &#3394 ; &#3370 ; &#3405 ; &#3370 ;) but it didn't displaying properly on webview. The text is getting unreadable and meaningless.

  1. In Older impl I am having the text like this Y¢j¤lcÉd¤j«: Jt´Tl¡l¤ a¢c·
  2. In current impl its like &#3384 ; &#3394 ; &#3370 ; &#3405 ; &#3370 ;

So I would like to know is it possible to convert Unicode (ie, from 2) format to the ASCII (ie, to 1) in android ?

The font used is thoolika.ttf.

Thanks in Advance @nish

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM