vasanthgk91 has asked for the wisdom of the Perl Monks concerning the following question:
my $title="சிவகாசி அ&# +2992;ுகே வெடி வி +;பத்து : 2 பேர் + உயிரிழப்பĬ +9;"; use Encode::Guess; my $enc = guess_encoding($title, qw/euc-jp shiftjis 7bit-jis/); ref($enc) or die "Can't guess: $enc"; # trap error this way $title= $enc->decode($title); my $title_length=length($title);
output I get wrong==268
|
---|
Back to
Seekers of Perl Wisdom