I don't use unicode characters in my android-textview.How can I do this?

时光怂恿深爱的人放手 提交于 2019-12-10 00:36:39

问题


I don't use unicode characters in my android-textview.How can I do this?

my xml :

<?xml version="1.0" encoding="utf-8"?>

and I don't use unicode characters in android textview,edittext,....


回答1:


Summary of comment thread:

  1. Save .txt file containing şile as UTF-8. (For Notepad, best: UTF-8 without BOM.)

  2. Load from code using a new InputStreamReader(inputStream, "utf-8").



来源:https://stackoverflow.com/questions/9108876/i-dont-use-unicode-characters-in-my-android-textview-how-can-i-do-this

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!