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试试
发布时间: 2012-03-05 11:54:02 作者: rapoo
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试试