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

use strict;
use utf8;
use Text::CSV::Encoded;

my $csv  = Text::CSV::Encoded->new;

eval q| $csv->decode( "あいうえお" ) |;

ok( !$@ );


eval q| $csv->decode('utf8', "あいうえお") |;

ok( $@ );

1;