Java Chinese Check checkCharIsChiness(char c)

Here you can find the source of checkCharIsChiness(char c)

Description

check Char Is Chiness

License

Apache License

Declaration

public static boolean checkCharIsChiness(char c) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {

    public static boolean checkCharIsChiness(char c) {
        return String.valueOf(c).getBytes().length == 2 ? true : false;
    }/*  w  w  w  .j  a v a  2 s.c  o  m*/
}

Related

  1. isChina(String str)
  2. isChinaLanguage(char[] chars)
  3. isChinaLanguage(String str)
  4. isChinaOrEnName(String str)