in reply to Re: How to convert between Unicode codepoint and UTF8 character code on Perl?
in thread How to convert between Unicode codepoint and UTF8 character code on Perl?
@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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to convert between Unicode codepoint and UTF8 character code on Perl?
by hippo (Archbishop) on Oct 25, 2021 at 10:19 UTC | |
|
Re^3: How to convert between Unicode codepoint and UTF8 character code on Perl?
by Anonymous Monk on Oct 25, 2021 at 07:38 UTC |