]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/aggregate.pm
Merge commit 'upstream/master' into pub/po
[ikiwiki.git] / IkiWiki / Plugin / aggregate.pm
index c667ee2a9f7429512d6287fdd91bd6422cd1500e..e1baae666a02ffe0e9230ed4d81667a2f7ece79a 100644 (file)
@@ -534,6 +534,11 @@ sub aggregate (@) {
                }
 
                foreach my $entry ($f->entries) {
+                       # XML::Feed doesn't work around XML::Atom's bizarre
+                       # API, so we will. Real unicode strings? Yes please.
+                       # See [[bugs/Aggregated_Atom_feeds_are_double-encoded]]
+                       local $XML::Atom::ForceUnicode = 1;
+
                        my $c=$entry->content;
                        # atom feeds may have no content, only a summary
                        if (! defined $c && ref $entry->summary) {