web亂碼調整

服務端獲取:
String value = URLDecoder.decode(request.getParameter("test1Value"),"UTF-8");


客服端發送:
location.href = "<%=path%>/test1.do?test1Value="+encodeURI(encodeURI("中國人"));
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章