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;
}
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/10888.html