in reply to Converting UTF8 to Latin1
Close, it's
Edit: Also, what Corion said :)
Where $encoding_in and $encoding_out contain the encoding of your choice (in your case UTF8 and Latin1 (or iso-8859-1) respectively).Encode::encode($encoding_out, Encode::decode($encoding_in, $data));
Edit: Also, what Corion said :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Converting UTF8 to Latin1
by moritz (Cardinal) on Jun 20, 2012 at 10:21 UTC |
In Section
Seekers of Perl Wisdom