使用------encodeuri(你要使用的中文参数值)如:...?username"+encodeuri(“小甜甜")
2.在后台通过解码来接收该中文参数
使用----string name = new string(request.getparameter("username ").getbytes("iso8859-1"),"utf-8")
3.最好不要在url中传递中文参数
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!