本文整理自网络,侵删。
方法1
user Httpapp;
HttpEncode(AnsiToUtf8('中文'));
方法2
uses
IdURI;
..
begin
S := TIdURI.URLEncode(str);
//
S := TIdURI.URLDecode(str);
end;
相关阅读 >>
Delphi 如何让scrollbox的内容与滚动条一起实时滚动
Delphi xe5 程序中标识win max android ios程序代码分别实现
更多相关阅读请进入《Delphi》频道 >>