Indy 10.5.5 版 get 乱码解决思路
Indy 10.5.5 版 get 乱码
Delphi2010 + Indy 10.5.5
var
a: string;
a := idhttp1.get('http://www.2ccc.com/2ccc.txt');
用D2007 + Indy 10.1.5是正常的
但是升级后变量 a 就是乱码了
------解决方案--------------------
将编码转换一下,d2010默认好像是UTF8格式的
------解决方案--------------------
utf8toansi试试
Delphi2010 + Indy 10.5.5
var
a: string;
a := idhttp1.get('http://www.2ccc.com/2ccc.txt');
用D2007 + Indy 10.1.5是正常的
但是升级后变量 a 就是乱码了
------解决方案--------------------
将编码转换一下,d2010默认好像是UTF8格式的
------解决方案--------------------
utf8toansi试试