***
Simple Chinese character judgment
Private static int ischaracter (String Word) {
Byte [] str_byte = null;
Str_byte = word.substring (0, 1) .Getbytes ();
IF (str_byte.length == 2) {
Return 1; // is Chinese characters
} else {
Return 0; // is not Chinese characters
}
}
***