Upgrade to PerlIO::encoding 0.02, from Dan Kogai.
[p5sagit/p5-mst-13.2.git] / ext / PerlIO / encoding / encoding.pm
CommitLineData
59035dcc 1package PerlIO::encoding;
918951dd 2our $VERSION = '0.02';
59035dcc 3use XSLoader ();
4use Encode;
5XSLoader::load 'PerlIO::encoding';
61;
7__END__
8
9=head1 NAME
10
11PerlIO::encoding - encoding layer
12
13=head1 SYNOPSIS
14
b89cebd3 15 open($f, "<:encoding(foo)", "infoo");
16 open($f, ">:encoding(bar)", "outbar");
59035dcc 17
18=head1 DESCRIPTION
19
b89cebd3 20Open a filehandle with a transparent encoding filter.
21
22On input, convert the bytes expected to be in the specified
23character set and encoding to Perl string data (Unicode and
24Perl's internal Unicode encoding, UTF-8). On output, convert
25Perl string data into the specified character set and encoding.
26
27=head1 SEE ALSO
28
29L<open>, L<Encode>, L<perlfunc/binmode>, L<perluniintro>
2dc05cb3 30
59035dcc 31=cut
32
33