1PerlIO::utf8_strict(3)User Contributed Perl DocumentationPerlIO::utf8_strict(3)
2
3
4
6 PerlIO::utf8_strict - Fast and correct UTF-8 IO
7
9 version 0.008
10
12 open my $fh, '<:utf8_strict', $filename;
13
15 This module provides a fast and correct UTF-8 PerlIO layer. Unlike
16 perl's default ":utf8" layer it checks the input for correctness.
17
19 allow_noncharacters
20 allow_surrogates
21
23 PerlIO::utf8_strict exports no subroutines or symbols, just a perl
24 layer "utf8_strict"
25
27 Can't decode ill-formed UTF-8 octet sequence <%s>
28 (F) Encountered an ill-formed UTF-8 octet sequence. <%s> contains a
29 hexadecimal representation of the maximal subpart of the ill-formed
30 subsequence.
31
32 Can't interchange noncharacter code point U+%.4X
33 (F) Noncharacters is permanently reserved for internal use and that
34 should never be interchanged. Noncharacters consist of the values
35 U+nFFFE and U+nFFFF (where n is from 0 to 10^16) and the values
36 U+FDD0..U+FDEF.
37
39 · Leon Timmermans <leont@cpan.org>
40
41 · Christian Hansen <chansen@cpan.org>
42
44 This software is copyright (c) 2012 by Leon Timmermans, Christian
45 Hansen.
46
47 This is free software; you can redistribute it and/or modify it under
48 the same terms as the Perl 5 programming language system itself.
49
50
51
52perl v5.32.0 2020-09-19 PerlIO::utf8_strict(3)