js中文参数传递乱码js传参数乱码前端l两次encodevar unitNm encodeURI(encodeURI(unitNm))?action中dec
js中文参数传递乱码
js传参数乱码
前端l两次encode
var unitNm = encodeURI(encodeURI(unitNm));
?
action中decode
unitNm = URLDecoder.decode(unitNm,"UTF-8");
js中文参数传递乱码
js传参数乱码
前端l两次encode
var unitNm = encodeURI(encodeURI(unitNm));
?
action中decode
unitNm = URLDecoder.decode(unitNm,"UTF-8");