// buffer and forget
// Unicode supports c <= 0x0010 ffff ...
if (multibyteChar > 0x0010ffff)
{
throw new CharConversionException("UTF-8 encoding of character 0x00" +
Integer.toHexString(multibyteChar) +
" can't be converted to Unicode.");
} else if (multibyteChar > 0xffff)
{
// Convert UCS-4 char to UTF-16