xuxiuxi
2017-08-11 5f12988a77d078a5e5155c9a301e45bfd288d7e5
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/util/CharacterParser.java
@@ -69,7 +69,7 @@
    }
    /** * 汉字转成ASCII码 * * @param chs * @return */
    private int getChsAscii(String chs) {
    public  int getChsAscii(String chs) {
        int asc = 0;
        try {
            byte[] bytes = chs.getBytes("gb2312");
@@ -91,7 +91,7 @@
    }
    /** * 单字解析 * * @param str * @return */
    public String convert(String str) {
    public  String convert(String str) {
        String result = null;
        int ascii = getChsAscii(str);
        if (ascii > 0 && ascii < 160) {