Java tutorial
//package com.java2s; public class Main { public static final boolean isChineseCharacter(String chineseStr) { char[] charArr = chineseStr.toCharArray(); for (int i = 0; i < charArr.length; i++) { if ((charArr[i] >= '\u0000' && charArr[i] < '\uFFFD') || (charArr[i] > '\uFFFD' && charArr[i] < '\uFFFF')) { continue; } else { return false; } } return true; } }