web_submit_data 发送的中文乱码问题
Action(){
web_submit_data("",
"Action=http://testagent.etaoko.com/doRepayment.htm?appno=999999&orderid=260304,
"Method=POST",
"RecContentType=text/xml",
"Mode=HTML",
"EncType=application/x-www-form-urlencoded;charset=UTF-8",
ITEMDATA,
"Name=sucflag","value=1",ENDITEM,
"Name=ordertype","value=转账",ENDITEM,
LAST);
return 0;
}
发送后,表中显示的ordertype是乱码,不是“转账”,EncType应该怎样设置? 你需要把“转账”转换编码,抓换成utf-8
页:
[1]