我在android-textview中没有使用unicode字符。我可以这样做吗?

时间:2012-02-02 08:00:33

标签: android unicode special-characters android-fonts

我在android-textview中没有使用unicode字符。我该怎么做?

我的xml:

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

我在android textview,edittext,....中不使用unicode字符。

1 个答案:

答案 0 :(得分:2)

评论主题摘要:

  1. 将包含şile的.txt文件另存为UTF-8。 (对于记事本,最好:没有BOM的UTF-8。)

  2. 使用new InputStreamReader(inputStream, "utf-8")

  3. 从代码加载