This topic created in 2962 days ago, the information mentioned may be changed or developed.
将一个字符串写入 txt 文件,但打开文件后发现内容不完整比如字符串是"字" “符” “串”,文件里的内容的为"字" “串”。这种情况偶尔会发生。请问这是什么原因造成的。存储就是标准的 java 文件操作。
 | | 1 pual Mar 18, 2018 via Android 字符编码设为 utf-8, write 调用结束后 flush |