]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Merge commit 'smcv/atom'
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 3 Feb 2009 20:04:36 +0000 (15:04 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 3 Feb 2009 20:04:36 +0000 (15:04 -0500)
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) {