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; } }