Encoding in Android TextView

后端 未结 3 627
南旧
南旧 2020-12-31 14:09

I\'m new in Android.
When using Json Parsing, I have a problem with display text(maybe cause by font, I don\'t know).
This is my Json return:

{\"Resp         


        
3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-31 14:28

    Use a webView to display text like this:

    myWebView.loadData(myHtmlString, "text/html; charset=UTF-8", null);
    

提交回复
热议问题