本文共 163 字,大约阅读时间需要 1 分钟。
最近在搞fmx开发,用idhttp post 数据 返回中文乱码,在网上找了好多都解决不了,后来自己琢磨出方法,非常简单
uses IdGlobal
lstr := idhttp1.Post('http://wwwbaidu.com',ls,IndyTextEncoding(TEncoding.ANSI));
编码方式自定义
转载地址:http://abegz.baihongyu.com/