How to read and write UTF-8 to disk on the Android?

后端 未结 5 787
余生分开走
余生分开走 2020-12-16 02:58

I cannot read and write extended characters (French accented characters, for example) to a text file using the standard InputStreamReader methods shown in the Android API ex

5条回答
  •  囚心锁ツ
    2020-12-16 03:30

    Check the encoding of your file by right clicking it in the Project Explorer and selecting properties. If it's not the right encoding you'll need to re-enter your special characters after you change it, or at least that was my experience.

提交回复
热议问题