Can you modify your subroutine `to_bytes` so that it will not use the Unicode module?
Indeed I can but there is no reason why I should since Unicode::Char is publicly available for you to download and install. See Installing Modules if you do not know how to go about that.
🦛
In reply to Re^3: How to convert between Unicode codepoint and UTF8 character code on Perl?
by hippo
in thread How to convert between Unicode codepoint and UTF8 character code on Perl?
by wyt248er
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |