Unicode::CheckUTF8::PP - Pure Perl implementation of Unicode::CheckUTF8
use Unicode::CheckUTF8::PP qw(is_utf8); my $is_ok = is_utf8($scalar);
Pure Perl implementation of Unicode::CheckUTF8, almost all logic was directly ported from that module. The target audience of this module are users who would like the functionality of Unicode::CheckUTF8, but don't have access to a C compiler or lack permissions to compile on their systems (for whatever reason)
Determines whether a Perl scalar is a UTF8 compliant string
returns 1 if the supplied string is UTF8 compliant returns 0 otherwise
Based entirely on Unicode::CheckUTF8, written by Brad Fitzpatrick
Hunter McMillen <email@example.com>
This software is copyright (c) 2016 by Hunter McMillen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.