Java tutorial
//package com.java2s; public class Main { public static boolean isChineseChar(String value) { try { if (value == null) return false; char[] chars = value.toCharArray(); for (int i = 0; i < chars.length; i++) { String target = String.valueOf(chars[i]); byte[] b = target.getBytes(); if (b.length == 2) { } else { return false; } } return true; } catch (Exception e) { return false; } } }