获取UFT8的编码,解决URL传中文参数乱码

版权声明: https://blog.csdn.net/qq_32157851/article/details/83786930

return new String(str.getBytes("iso-8859-1"),"UTF-8")

猜你喜欢

转载自blog.csdn.net/qq_32157851/article/details/83786930