RT.
public class test01 {
public static Boolean isLessUseWord(String org) throws UnsupportedEncodingException {
return !org.equals(new String(org.getBytes("gb18030"),"gb2312"));
}
public static void main(String[] args) throws Exception{
System.out.println(isLessUseWord("三")+"-"+isLessUseWord("毿"));
}
}
console:
false-true