Under delphi2010 indy10.5.7 uploading files and submit field values with the following methods in
TIdMultiPartFormDataStream AddFormField (' name ', 'value', 'GB2312)
Use idhttp. Post up after Chinese are=D7=D4=B6=AF=B7 like=BC===A2 B2 garbled
Conversion utf8, ANSI not
, English and Numbers are correct, solving!!!!!!

CodePudding user response:
B3 c3 fb % % % % c6% % d6 b5
GB2312
E5 % % 90% b0 a7 e7 8 d % % % % % 0 0 d a
E5 % % 80% BC
Utf8
UrlEncode
CodePudding user response:
Could you tell me what this mean?CodePudding user response:
Look at my post, may be useful to you,CodePudding user response:
Useless, not solve, I used the indy10.5.5 and indy10.5.7 all not line, can only separate submissions or upload a file, upload together with the Chinese is the code or pictures can't uploadCodePudding user response:
MultipartFormData. AddFormField (' user_text user_text, 'utf-8). ContentTransfer:=' 8 bit; Have you tried setting ContentTransfer property? And what is website coding? Before you set up the corresponding, I've been also not line, with D2010 solved later modified XE2, judging from the results of caught two versions of the Indy difference is bigger, especially MultiPartFormData,CodePudding user response:
I met this kind of "noise" problem, hope for your this post for helpBy first post
CodePudding user response:
Upgrade to xe3, use MultipartFormData. AddFormField (' user_text user_text, 'utf-8). ContentTransfer:=' 8 bit, thus solved the problem of the image upload garbled, appears to be delphi2010 and indy have two problems,CodePudding user response:
D2010 INDY is indeed some bugs