Try using Text::Iconv instead of Unicode::map8. Actually if iconv is installed on your machine you can even use it separately: iconv -f UTF8 -t LATIN1 <file>
use Text::Iconv; $converter = Text::Iconv->new("UTF8", "LATIN1"); $converted = $converter->convert( $utf8_string);
In reply to Re: How to get latin-1 out of a utf-8 string (5.6.1)?
by mirod
in thread How to get latin-1 out of a utf-8 string (5.6.1)?
by skip@pobox.com
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |