1locale(3)             User Contributed Perl Documentation            locale(3)
2
3
4

NAME

6       PerlIO::locale - PerlIO layer to use the encoding of the current locale
7

VERSION

9       0.07
10

SYNOPSIS

12           use PerlIO::locale;
13           open my $filehandle, '<:locale', $filename or die $!;
14

DESCRIPTION

16       This is mostly a per-filehandle version of the "open" pragma, when used
17       under the form
18
19           use open ':locale';
20
21       The encoding for the opened file will be set to the encoding
22       corresponding to the locale currently in effect, if perl can guess it.
23

AUTHOR

25       Copyright (c) 2004, 2005, 2007, 2008, 2011, 2014 Rafael Garcia-Suarez
26       <rgs@consttype.org>, rewritten by Leon Timmermans <leont@cpan.org>
27

LICENSE

29       This program is free software; you may redistribute it and/or modify it
30       under the same terms as Perl itself.
31

SOURCE

33       A git repository for the sources is at
34       <https://github.com/rgs/PerlIO-locale>.
35

SEE ALSO

37       •   open
38
39       •   PerlIO::encoding
40
41       •   I18N::Langinfo
42
43
44
45perl v5.34.0                      2021-07-22                         locale(3)
Impressum