How to do HTTP POST in Utf-8 -> php script -> mysql

后端 未结 3 780
攒了一身酷
攒了一身酷 2021-01-07 08:30

I am using Delphi 7 and ICS components to communicate with php script and insert some data in mysql database...

How to post unicode data using http post ?

Af

3条回答
  •  Happy的楠姐
    2021-01-07 09:11

    Encode the UTF-8 data in application/x-www-form-urlencoded. This will ensure that the server can read the data over the http connection

提交回复
热议问题