简体   繁体   English

在Android Webview中显示Unicode字符

[英]Display Unicode character in Android webview

I did an android application which displays malayalam ascii encoded fonts in webview. 我做了一个Android应用程序,该应用程序在Webview中显示了Malayalam ascii编码的字体。 Now I have to display unicode character set (like &#3384 ; &#3394 ; &#3370 ; &#3405 ; &#3370 ;) but it didn't displaying properly on webview. 现在,我必须显示unicode字符集(例如സൂപ്പ),但是它无法在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· 在“较旧的隐式”中,我有这样的文字:YtjllcÉd¤j«:Jt´Tlll¤ 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 ? 所以我想知道是否有可能在Android中将Unicode(即从2)格式转换为ASCII(即到1)?

The font used is thoolika.ttf. 使用的字体是thoolika.ttf。

Thanks in Advance @nish 在此先感谢@nish

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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