if (chValue > 0xf000) { //let's check first the character in the lower ascii (Pre-process according to ECMA-376 2.3.3.29)
chValue -= 0xf000;
}
if (typeface.mapChar(chValue) == 0) {
chValue += 0xf000;
if (typeface.mapChar(chValue) == 0) {
chValue = '\0';
}
}
if (chValue != '\0') {//character was found
textValue = Character.toString(chValue);