if ($code > 0x10FFFF) {
carp "Unicode characters only allocated up to 0x10FFFF (you asked for $hex)";
- return "\x{FFFD}";
+ return;
}
return $viacode{$hex} if exists $viacode{$hex};
if ($txt =~ m/^$hex\t\t(.+)/m) {
return $viacode{$hex} = $1;
} else {
- carp "Unknown charcode '$hex'";
- return "\x{FFFD}";
+ return;
}
}