PerlIO::utf8_strict(3pm)

PerlIO::utf8_strict3pm

Fast and correct utf-8 io

Usage

 open my $fh, '<:utf8_strict', $filename;

Version

version 0.010

Overview

This module provides a fast and correct UTF-8 PerlIO layer. Unlike perl's default ":utf8" layer it checks the input for correctness.

Layer arguments

allow_noncharacters
allow_surrogates

Export

PerlIO::utf8_strict exports no subroutines or symbols, just a perl layer "utf8_strict"

Diagnostics

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 values U+nFFFE and U+nFFFF (where n is from 0 to 10^16) and the values U+FDD0..U+FDEF.

Releases

7 releases since Debian 8 (Jessie); the text changed 6 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

Authors

•

Leon Timmermans <[email protected]>

•

Christian Hansen <[email protected]>

From perl-perlio-utf8-strict 0.010-6 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.