The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Text::CSV::Encoded - Encoding aware Text::CSV.

SYNOPSIS

    # Here in Perl 5.8 or later
    $csv = Text::CSV::Encoded->new ({
        encoding_in  => "iso-8859-1", # the encoding comes into   Perl
        encoding_out => "cp1252",     # the encoding comes out of Perl
    });

    # parsing CSV is regarded as input
    $csv->parse( $line );      # $line is a iso-8859-1 encoded string
    @columns = $csv->fields(); # they are unicode data

DESCRIPTION

This module inherits Text::CSV and is aware of input/output encodings.

INSTALLATION

This module sources are hosted on github https://github.com/singingfish/Text-CSV-Encoded and uses Dist::Zilla to generate the distribution. It can be istalled:

directly
 cpanm https://github.com/singingfish/Text-CSV-Encoded.git
from CPAN
 cpan Text::CSV::Encoded
 cpanm https://github.com/singingfish/Text-CSV-Encoded
maualy cloninig the repository:
 git clone https://github.com/singingfish/Text-CSV-Encoded.git
 cd https://github.com/singingfish/Text-CSV-Encoded
 perl Makefile.PL
 make
 make test
 make install

REQUIREMENTS

This distribution requires Perl v5.8.0.

This distribution requires the following modules:

COPYRIGHT AND LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.