請問如果用URL來傳遞中文參數,應如何處理? 例如: URL --> http://127.0.0.1:8080/test/test.jsp?keyword=正常 因URL 不能傳遞中文, 所以我用了
1 java.net.URLEncoder.encode("正常","Big5")
來把中文ENCODE. 轉換后的URL --> http://127.0.0.1:8080/test/test.jsp?keyword=
转载请注明原文地址: https://ibbs.8miu.com/read-9257.html