- or download this
#! perl
use encoding "utf16", STDOUT => "utf8";
while (<>) { print }
- or download this
perl -Mencoding=utf16,STDOUT,utf8 -p -e 1 < in > out
- or download this
perl -Mencoding=utf16,STDOUT,utf8 -n -e print < in > out
- or download this
$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
...
c:/Perl/lib
c:/Perl/site/lib
.