2013年9月17日
摘要: java ee 中文乱码的问题发生中文乱码的三种情况(一) 表单formPost 方法直接在服务器中设置request.setCharacterEncoding("utf-8"); get方法 自己转码,下面是方法.public class HuanMa{public static String getUTF8(String str){ String s=""; try { s= new String(str.getBytes("iso-8859-1"),"utf-8"); } catch (Unsupported 阅读全文
posted @ 2013-09-17 21:29 邵邵 阅读(438) 评论(0) 推荐(0) 编辑

淘宝美工兼职招聘