android utf8转换

 public static String conventUTF8(String value) {
        try {
            return new String(value.getBytes(), "UTF-8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        return null;
    }

  

posted on 2016-01-28 16:32  Sun_Yang_  阅读(403)  评论(0编辑  收藏  举报

导航