1 package PerlIO::encoding;
5 XSLoader::load 'PerlIO::encoding';
11 PerlIO::encoding - encoding layer
15 open($f, "<:encoding(foo)", "infoo");
16 open($f, ">:encoding(bar)", "outbar");
20 Open a filehandle with a transparent encoding filter.
22 On input, convert the bytes expected to be in the specified
23 character set and encoding to Perl string data (Unicode and
24 Perl's internal Unicode encoding, UTF-8). On output, convert
25 Perl string data into the specified character set and encoding.
29 L<open>, L<Encode>, L<perlfunc/binmode>, L<perluniintro>