Java examples for java.lang:char
is Chinese by checking char value range
//package com.java2s; public class Main { public static boolean isChinese(char c) { return (c >= 0x4e00 && c <= 0x9fa5); }//from w ww.j a va2 s . c o m }