diff --git a/feed2red.pl b/feed2red.pl index 29cd586..1f2fd3d 100755 --- a/feed2red.pl +++ b/feed2red.pl @@ -47,6 +47,9 @@ my $red = LWP::UserAgent->new(); my $hed = HTTP::Headers->new(); +# fix incorrect unicode characters in Atom feeds +$XML::Atom::ForceUnicode = 1; + # parse feeds foreach my $norm (keys %feeds) {