Division symbol in text file in raw folder

前端 未结 2 1608
清歌不尽
清歌不尽 2021-01-20 02:20

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 key

2条回答
  •  花落未央
    2021-01-20 02:47

    You should use the Unicode value for any symbols such as the division symbol you have here.

    Try the Unicode U00F7.

    When using it within a String format like "\u00F7".

提交回复
热议问题