Home > Back-end >  Delphi xe8 ARequestInfo. Params. Values [...] Chinese garbled
Delphi xe8 ARequestInfo. Params. Values [...] Chinese garbled

Time:09-24

Delphi xe8 use idhttp this control, when the server receives the information of the client sends to come over, namely ARequestInfo. Params. Values [...] when the content is normal in English and Chinese garbled words, don't know what to do to show the normal content, please help, thank you all for the great god!!!!!!

CodePudding user response:

Idhttp. URL. URLDecode ();//decryption
Idhttp. URL. URLEncode ();//encryption

CodePudding user response:

reference 1st floor doloopcn response:
idhttp. URL. The URLDecode ();//decryption
Idhttp. URL. URLEncode ();//encryption


URLDecode (ARequestInfo. Params. Values [...]) is directly so that I use, display or same is gibberish, don't know right?

CodePudding user response:

Your VALUE is encoding UTF8 or GBK

CodePudding user response:

The
reference 3 floor doloopcn response:
is your VALUE encoding UTF8 or GBK


UTF8
  • Related