java 後端接收get方式傳值亂碼

經過String類型的字符串函數實現函數

new String(str.getBytes("iso-8859-1"),"GBK");  // 是針對form表單Method="GET"提交時起做用。獲取url的傳值
相關文章
相關標籤/搜索