Encode-Argv
view release on metacpan or search on metacpan
lib/Encode/Argv.pm view on Meta::CPAN
__END__
=head1 NAME
Encode::Argv - Automatically Mess With @ARGV's Encoding
=head1 SYNOPSIS
use Encode::Argv ('cp932');
# Now @ARGV is decoded unicode characters, decoded from cp932
use Encode::Argv ('cp932' => 'euc-jp');
# Now @ARGV is encoded into euc-jp after being decoded from cp932
use Encode::Argv;
# Now @ARGV is decoded from whatever Term::Encoding thinks you are
# using on your terminal.
=head1 DESCRIPTION
I saw L<http://search.cpan.org/dist/Sjis|Sjis.pm> and L<http://www.aritia.org/hizumi/perl/perlwin.html|this>, and thought, "Well, I can't fix /all/ of their
problems, but I can at least start".
So here's a module that silently encodes/decodes your @ARGV from/to encodings
supported by Encode.pm
( run in 0.298 second using v1.01-cache-2.11-cpan-0d8aa00de5b )