Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: How to convert between Unicode codepoint and UTF8 character code on Perl?by wyt248er (Initiate) |
on Oct 25, 2021 at 04:34 UTC ( [id://11137992]=note: print w/replies, xml ) | Need Help?? |
@hippo The version of my perl is above 5.8, and hence it can surely handle Unicode. However, it does not have the Unicode module. So, `use Unicode::Char;` returns an error "Can't locate Unicode/Char.pm in @INC". Also `use Unicode;` returns an error "Can't locate Unicode.pm in @INC". Can you modify your subroutine `to_bytes` so that it will not use the Unicode module? Thank you.
In Section
Seekers of Perl Wisdom
|
|