Q:

UTF-8 support for RSS parsing

I'm using XML::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 characteres like é, è, à, etc.  are deleted from the output.  Is there an option to set in order to force the encoding? 
Here is my script: 
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/FR"; 
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"; 
   } 
}

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 unfortunately. :(  

A:

I like that Mojo::UserAgent along with Mojo::DOM already have the support I need without me tracking down the right combinations of modules to use, and it handles the UTF-8 bits without me doing anything special:
use v5.10;
use open qw( :std :utf8 ); 
use Mojo::UserAgent; 

my $ua = Mojo::UserAgent->new; 
my $URL = "http://www.boursier.com/syndication/rss/news/FR0004031839/FR"; 
my $response = $ua->get($URL)->res; 

my @links = $response
    ->dom( 'item > title' )
    ->map( sub { $_->text } )
    ->each;

$" = "\n";
print "@links\n";

I have another example at Painless RSS processing with Mojo

A:

The RSSLite documentation explicitely states:

Remove characters other than 0-9~!@#$%^&*()-+=a-zA-Z[];',.:"<>?\s

Therefore, the module is hopelessly broken.  Try again with XML::Feed

