String::isUTF8 - access to is_utf8_string() Perl API function
use utf8; use String::isUTF8 qw(perlapi_is_utf8_string); unless (perlapi_is_utf8_string("keď vychodí slniečko")) { die 'panic not UTF-8'; }
This module offers just one function perlapi_is_utf8_string() that can be used to check if a string contains valid UTF-8 characters.
perlapi_is_utf8_string()
See is_utf8_string in "Unicode-Support" in perlapi.
is_utf8_string
"Unicode-Support" in perlapi, Search::Tools::UTF8
Jozef Kutej
Copyright 2009 Jozef Kutej, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '(perlapi_is_utf8_string("keď'. Assuming UTF-8
To install String::isUTF8, copy and paste the appropriate command in to your terminal.
cpanm
cpanm String::isUTF8
CPAN shell
perl -MCPAN -e shell install String::isUTF8
For more information on module installation, please visit the detailed CPAN module installation guide.