摘要: String country = ""; if (null != request.getParameter("areaName")) { country = request.getParameter("areaName"); try { // 如果是乱码就转码 if (!(Pattern.matches("[/u4E00-/u9FA5]", country))) { country = new String(country.getBytes("ISO-8859-1"),"UTF-8&q 阅读全文
posted @ 2010-11-12 09:32 java程序代码 阅读(190) 评论(0) 推荐(0) 编辑