Here you can find the source of isChineseChar(char c)
public static boolean isChineseChar(char c) throws UnsupportedEncodingException
//package com.java2s; //License from project: Apache License import java.io.UnsupportedEncodingException; public class Main { public static boolean isChineseChar(char c) throws UnsupportedEncodingException { return String.valueOf(c).getBytes("GBK").length > 1; }/* ww w.j a v a 2 s .c om*/ }