判断是否汉字的Java代码,判断汉字Java代码,private stat
分享于 点击 19588 次 点评:162
判断是否汉字的Java代码,判断汉字Java代码,private stat
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; }}
用户点评