解决方案1:
str = new String(str.getBytes("ISO-8859-1"),"utf-8");
解决方案二:
jsp代码:
encodeURI(encodeURI())
java代码:
RESPONSE_NM = URLDecoder.decode(RESPONSE_NM, "UTF-8");
解决方案1:
str = new String(str.getBytes("ISO-8859-1"),"utf-8");
解决方案二:
jsp代码:
encodeURI(encodeURI())
java代码:
RESPONSE_NM = URLDecoder.decode(RESPONSE_NM, "UTF-8");