PerlIO:...8_strict(3)
π¦ NAME π¦
okay so bestie, welcome to the PerlIO::utf8_strict(3) page from the User Contributed Perl Documentation π β and the actual name is PerlIO::utf8_strict β Fast and correct UTF-8 IO. no cap, that's the whole point of this little icon. β¨
β¨ VERSION β¨
version 0.010 β cute. π
π SYNOPSIS π
the vibe is literally one line:
open my $fh, '<:utf8_strict', $filename;
slay. π«Ά
π DESCRIPTION π
okay so real talk: this module gives you a fast and correct UTF-8 PerlIO layer. unlike perl's default :utf8 layer, it checks the input for correctness. that's the difference, and it's lowkey the whole personality. π
πΈ LAYER ARGUMENTS πΈ
the layer arguments are exactly these two names β no extra invented lore:
allow_noncharactersβ layer argument. π¦allow_surrogatesβ layer argument. π
π«Ά EXPORT π«Ά
PerlIO::utf8_strict exports no subroutines or symbols, just a perl layer utf8_strict. that's it, that's the export table: empty except for the layer. π
π₯ DIAGNOSTICS π₯
if you run into these, the page is very clear about what's up:
Can't decode ill-formed UTF-8 octet sequence <%s>β (F) Encountered an ill-formed UTF-8 octet sequence.<%s>contains a hexadecimal representation of the maximal subpart of the ill-formed subsequence.Can't interchange noncharacter code point U+%.4Xβ (F) Noncharacters is permanently reserved for internal use and that should never be interchanged. Noncharacters consist of the valuesU+nFFFEandU+nFFFF(wherenis from0to10^16) and the valuesU+FDD0..U+FDEF.
π AUTHORS π
- Leon Timmermans β
<leont@cpan.org>π - Christian Hansen β
<chansen@cpan.org>π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2012 by Leon Timmermans, Christian Hansen. πΈ
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π«Ά
and that's the whole page, bestie π«Ά β signed off by perl v5.42.0 on 2022-10-27, all under the PerlIO::utf8_strict(3) banner. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-PerlIO-utf8_strict 0.010-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-PerlIO-utf8_strict 0.010-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-PerlIO-utf8_strict 0.010-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-PerlIO-utf8_strict 0.010-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms