Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I know that the utf8->latin1 conversion is lossy but getting nothing back seems a bit extreme to me. Am I forgetting something obvious?use Unicode::Map8; my($content) = some UTF8 string being passed in. my($latin_map) = Unicode::Map8->new("latin1") || die("Map8 problem"); my($latin_string) = $latin_map->to8($content); print "Latin string is $latin_string";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unicode::Map8 problems
by Anonymous Monk on Jan 31, 2001 at 20:46 UTC | |
|
Re: Unicode::Map8 problems
by mirod (Canon) on Jan 31, 2001 at 20:31 UTC |