GaijinPunch has asked for the wisdom of the Perl Monks concerning the following question:
And thisuse Unicode::Japanese; my $word = Unicode::Japanese->new($word, 'euc-jp')->get; # mangled
use Encode qw/encode decode/; $word = from_to( "euc-jp", $word ); #from_to subroutine doesn't exist $word = encode( "euc-jp", $word ); # mangled
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Converting from UTF8->EUC-JP
by lestrrat (Deacon) on Jul 04, 2005 at 02:44 UTC | |
by GaijinPunch (Pilgrim) on Jul 04, 2005 at 05:01 UTC | |
|
Re: Converting from UTF8->EUC-JP
by Anonymous Monk on Jul 04, 2005 at 02:48 UTC |