httpencode编码
uses System.NetEncoding
var s: string := TNetEncoding.URL.Encode('123'); //123
var s2: string := TNetEncoding.URL.Encode('abcd'); //abcd
var s3: string := TNetEncoding.URL.Encode('ab1cd2'); //ab1cd2
var s4: string := TNetEncoding.URL.Encode('汉字a2'); //汉字a2
var s5: string := TNetEncoding.URL.Decode('汉字a2'); //汉字a2
转载于:https://www.cnblogs.com/hnxxcxg/p/11227838.html
相关资源:delphi操作utf-8转码HTTPEncode