From: Simon McVittie Date: Tue, 3 Feb 2009 19:48:55 +0000 (+0000) Subject: Work around XML::Atom strangeness that results in double-encoded posts X-Git-Tag: 3.04~73^2 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/dd862b4639bd470cbc3e726798af2f07587cb62e?hp=dd862b4639bd470cbc3e726798af2f07587cb62e Work around XML::Atom strangeness that results in double-encoded posts See [[bugs/Aggregated_Atom_feeds_are_double-encoded]]. By default, XML::Atom outputs strings of UTF-8 bytes with the Perl UTF8 flag stripped off, which IkiWiki assumes to be Latin-1 and re-encodes as UTF-8 on output. XML::Feed does not currently (0.41-1) set the magic variable to change this behaviour (I've filed a bug on CPAN), but IkiWiki can usefully set the same variable as a workaround. ---