2017年8月31日

字符串编码

摘要: public static String getEncoding(String str) { String encode = "GB2312"; try { if (str.equals(new String(str.getBytes(encode), encode))) { //判断是不是GB23 阅读全文

posted @ 2017-08-31 16:38 一个很帅的男人 阅读(130) 评论(0) 推荐(0) 编辑

导航