use strict; use Text::Iconv; my $unicodetext = <IN>; # or whatever my $utf2ascii= new Text::Iconv( 'UTF-8', 'ASCII') or die "Can't make c +onverter"; my $asciitext = $utf2ascii->convert($text); print "$asciitext\n";
In reply to Re: LWP::Simple returns strange encodings
by cormanaz
in thread LWP::Simple returns strange encodings
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |