JAVA UTF-8字符转换为GBK

        String t = "u53d6";
        try {  
            String gbk=URLEncoder.encode(t,"GBK");
            System.out.println(gbk);  
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }   
原文地址:https://www.cnblogs.com/cbread/p/5761538.html