Browse Source

Merge remote-tracking branch 'remotes/origin/dev_group_msg' into develop

master
jianjun 4 years ago
parent
commit
712266aa51
  1. 4
      epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/utils/Pinyin4jUtil.java

4
epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/utils/Pinyin4jUtil.java

@ -139,8 +139,8 @@ public class Pinyin4jUtil {
} else if (((int) c >= 65 && (int) c <= 90) } else if (((int) c >= 65 && (int) c <= 90)
|| ((int) c >= 97 && (int) c <= 122)) {//英文 || ((int) c >= 97 && (int) c <= 122)) {//英文
temp[i] = new String[]{String.valueOf(srcChar[i])}; temp[i] = new String[]{String.valueOf(srcChar[i])};
} else { } else {//非汉字全盘返回即可
temp[i] = new String[]{""}; temp[i] = new String[]{String.valueOf(srcChar[i])};
} }
} }
String[] pingyinArray = exchange(temp); String[] pingyinArray = exchange(temp);

Loading…
Cancel
Save