in reply to Re: Utf8 experts help!
in thread Utf8 experts help!
use Encode::Guess; sub my_decode { my $what=shift; #utf8::decode($what);utf8::decode($what); my $enc = guess_encoding($what); if(ref($enc)) { $what = decode($enc->name, $what); } return $what; }
|
|---|