How can I send a post request and carry a Chinese form to a website encoded in gbk and ensure that there will be no problems with website parsing?
I try to send my post request by rust’s rewquest,but I found that some errors would occur when the Chinese strings in the form were received and responded to by the network.
The original string is “测试”,but in the web it is “娴嬭瘯”.
I think this is caused by the different encoding of my string and the website,the string encoding is UTF-8,but the web,is GBK.