@@ -0,0 +1,716 @@
+import org.junit.Test;%0A%0A/**%0A * Created by mjj on 2017/3/24.%0A * %E7%BC%96%E7%A0%81%E5%B7%A5%E5%85%B7%0A */%0Apublic class CodingUtils %7B%0A%0A    private CodingUtils()%7B%7D%0A%0A    /**%0A     * %E8%8E%B7%E5%8F%96Unicode%E7%A0%81%0A     */%0A    public static String getUnicode(String str)%7B%0A%0A        StringBuffer sb = new StringBuffer();%0A%0A        for(int i=0;i%3Cstr.length();i++) %7B%0A            if(str.charAt(i)%3C256)%7B//ASC11%E8%A1%A8%E4%B8%AD%E7%9A%84%E5%AD%97%E7%AC%A6%E7%A0%81%E5%80%BC%E4%B8%8D%E5%A4%9F4%E4%BD%8D,%E8%A1%A500%0A                sb.append(%22%5C%5Cu00%22);%0A            %7D else %7B%0A                sb.append(%22%5C%5Cu%22);%0A            %7D%0A            sb.append(Integer.toHexString(str.charAt(i)));%0A        %7D%0A%0A        return sb.toString();%0A    %7D%0A%0A    /**%0A     * %E6%9C%BA%E5%99%A8%E5%86%85%E7%A0%81%E8%BD%AC%E5%AD%97%E7%AC%A6%E4%B8%B2%0A     */%0A    public static String toStr(int codePoint)%7B%0A        return new String(Character.toChars(codePoint));%0A    %7D%0A%0A%7D%0A

add codingUtils