原始文件夹中文本文件中的分隔符号 [英] Division symbol in text file in raw folder
本文介绍了原始文件夹中文本文件中的分隔符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的android中的.txt文件中有÷.在Android设备上显示此划分符号时,我会看到"...".
I have ÷ in .txt file in my android. When this division symbol is shown on android device, I see "�"
更糟糕的是,我的笔记本电脑的键盘上没有分区标志.我使用了维基百科上的上述标志.
To make it worse, my laptop doesn't have division sign on keyboard. I used the above sign from wikipedia.
任何猜测我该如何解决.
Any guess how can I resolve this.
推荐答案
对于任何符号(例如此处的除法符号),都应使用Unicode值.
You should use the Unicode value for any symbols such as the division symbol you have here.
尝试使用Unicode U00F7 .
Try the Unicode U00F7.
在以"\ u00F7"
这样的String格式使用时.
When using it within a String format like "\u00F7"
.
这篇关于原始文件夹中文本文件中的分隔符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文