判断是否汉字的Java代码 2015/02/26 14077 private static boolean isChinens(char c) throws UnsupportedEncodingException { // TODO Auto-generated method stub if (String.valueOf(c).getBytes("GBK").length > 1) { return true; } else { return false; } }