You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
// txt文件在ios上显示乱码
final contents = File(fileEntity.filePath).readAsStringSync();
fileEntity.filePath = fileEntity.filePath.replaceAll('.txt', '_temp.txt');
File(fileEntity.filePath).writeAsStringSync(contents.trim(), encoding: gbk, flush: true);
我是这样处理的,但是总是会抱错:RangeError (index): Invalid value: Not in range 0..100034, -1000023
The text was updated successfully, but these errors were encountered: