Take a look at the charnames pragma and, in particular, its charnames::viacode(code) function, which might achieve what you're after:
$unsupported_character = ! defined charnames::viacode($your_code)
— Ken
In reply to Re: Tk UCS-2LE:code point too high
by kcott
in thread Tk UCS-2LE:code point too high
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |