Determine whether a given string of strings contains at least one Chinese character
code show as below
public static boolean isHaveChinese(String str) {
String regEx = "[\\u4e00-\\u9fa5]+";//中文的第一个和最后一个字符编码
Pattern p = Pattern.compile(regEx);
Matcher m = p.matcher(str);
if (m.find())
return true;
else
return false;
}