ehretf has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I'm using RSSlite for parsing RSS data I retrieved using LWP. LWP is correctly retrieving in the right encoding but when using RSSLite to parse the data, the encoding seems to be lost and charactere like é,è,à etc... are deleted from the output. Is there an option anywhere to force the encoding ?
Here is my script: #!/usr/bin/perl -w use strict; use XML::RSSLite; use LWP::UserAgent; use HTTP::Headers; use utf8; my $ua = LWP::UserAgent->new; $ua->timeout(10); $ua->env_proxy; my $URL = "http://www.boursier.com/syndication/rss/news/FR0004031839/F +R"; my $response = $ua->get($URL); if ($response->is_success) { my $content = $response->decoded_content((charset => 'UTF-8')); my %result; parseRSS(\%result, \$content); foreach my $item (@{ $result{items} }) { print "ITEM: $item->{title}\n"; } }
NOTE: I tried to use XML::RSS as it seems to have more option that may be handy in my case but it failed to install unfortunatly :(