String address = request.request.getParameter("address")
if(address.equals(new String(address.getBytes("iso8859-1"), "iso8859-1")))
{
address=new String(address.getBytes("iso8859-1"),"utf-8");
}
java 中判断字符串编码格式
最新推荐文章于 2024-07-03 02:34:55 发布