commit 644fe70ba62746fa237c0de9e241951a9c9e6f6f
parent 8ebe00a117ed9d1528a0a8e268ad30b67884ba09
Author: René Wagner <rwagner@rw-net.de>
Date: Sun, 29 Nov 2020 21:06:38 +0100
fix utf8 handling on gemini feeds
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/orrg.pl b/orrg.pl
@@ -93,7 +93,7 @@ sub feed_get
my $content = `./gcat $query`;
$content =~ /20\W/ or return undef;
$content =~ s/^[0-9]{0,2}\W.+\r\n//;
- $feed = XML::FeedPP->new($content, -type => 'string');
+ $feed = XML::FeedPP->new($content, -type => 'string', utf8_flag => 1);
}
recent_add($query, $feed->title);