导航:
论坛 -> DELPHI技术
斑竹:liumazi,sephil
作者:
jingzu (123456)
★☆☆☆☆
-
盒子活跃会员
2020/4/3 15:15:10
标题:
加入我的收藏
楼主:
aabb := TStringList.Create; aabb.Clear; aabb.LoadFromFile(ss); // FIniFilePaht := FTempPath + datetostr(date) + 's.ini'; aabb.SaveToFile(ss, TEncoding.ANSI); aabb.SaveToFile(ss, TEncoding.ANSI); aabb.free; 有的系统会提示而出错: No mapping for the Unicode character exists in the target multi-byte code page 网上查不到资料,大老们怎么解决?
----------------------------------------------
永远是DELPHI初学者。
作者:
2020/4/3 16:04:51
1楼:
不要使用 TEncoding.ANSI 使用 TEncoding.UTF8
----------------------------------------------
-
作者:
jingzu (123456)
★☆☆☆☆
-
盒子活跃会员
2020/4/3 18:04:02
2楼:
TEncoding.UTF8 在用 inifiles 计写ini文件时, 一样提示 No mapping for the Unicode character exists in the target multi-byte code page
----------------------------------------------
永远是DELPHI初学者。
作者:
2020/4/3 21:12:02
3楼:
No mapping 怕是精简系统吧。 使劲折腾吧。
----------------------------------------------
[alias] co = clone --recurse-submodules up = submodule update --init --recursiveupd = pullinfo = statusrest = reset --hard懒鬼提速https://www.cctry.com/ >http://qalculate.github.io/downloads.htmlhttps://www.cctry.com/