在代码中转换格式 params为前台传过来的参数 String str = new String(params.getBytes(“iso-8859-1”),“UTF-8”);
前台传参到后台出现中文乱码问题
最新推荐文章于 2021-02-25 16:47:29 发布
在代码中转换格式 params为前台传过来的参数 String str = new String(params.getBytes(“iso-8859-1”),“UTF-8”);