博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
delphi xe10 idhttp post 返回乱码解决方法
阅读量:730 次
发布时间:2019-03-21

本文共 163 字,大约阅读时间需要 1 分钟。

最近在搞fmx开发,用idhttp  post  数据 返回中文乱码,在网上找了好多都解决不了,后来自己琢磨出方法,非常简单

uses  IdGlobal

 lstr := idhttp1.Post('http://wwwbaidu.com',ls,IndyTextEncoding(TEncoding.ANSI));

编码方式自定义

转载地址:http://abegz.baihongyu.com/

你可能感兴趣的文章