---
name: "PerlIO::utf8_strict"
section: "3pm"
platform: "linux"
package: "perl-perlio-utf8-strict"
version: "0.010-6"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/PerlIO::utf8_strict"
---

# PerlIO::utf8\_strict(3pm)

Fast and correct UTF-8 IO

## NAME

PerlIO::utf8\_strict - Fast and correct UTF-8 IO

## VERSION

version 0.010

## SYNOPSIS

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

## DESCRIPTION

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.

## 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.
