Encode-UTF8-Slow
view release on metacpan or search on metacpan
Takes a Unicode codepoint number and returns a scalar of UTF-8 encoded bytes
for it. Exported on request.
=head2 bytes_to_codepoint
Takes UTF-8 encoded bytes in a scalar and returns the Unicode codepoint for it.
Exported on request.
=head1 WARNING
This is a naive encoder - it doesn't handle UTF-16 pairs, BOM or other
noncharacters like 0xFFFE. It's also very slow!
=head1 SEE ALSO
=over 4
=item *
L<Unicode::UTF8|https://metacpan.org/pod/Unicode::UTF8> for a super fast UTF-8 encoder.
lib/Encode/UTF8/Slow.pm view on Meta::CPAN
Takes a Unicode codepoint number and returns a scalar of UTF-8 encoded bytes
for it. Exported on request.
=head2 bytes_to_codepoint
Takes UTF-8 encoded bytes in a scalar and returns the Unicode codepoint for it.
Exported on request.
=head1 WARNING
This is a naive encoder - it doesn't handle UTF-16 pairs, BOM or other
noncharacters like 0xFFFE. It's also very slow!
=head1 SEE ALSO
=over 4
=item *
L<Unicode::UTF8|https://metacpan.org/pod/Unicode::UTF8> for a super fast UTF-8 encoder.
( run in 0.728 second using v1.01-cache-2.11-cpan-e9daa2b36ef )