]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Rcs/git.pm
* Fix from Faidon for a XML parser issue that breaks utf-8 for
[ikiwiki.git] / IkiWiki / Rcs / git.pm
index 636eb57f552863bbdc76bebc9c14ad5e25c728e2..6cbcfd14e925ae45e40bcba12b0b3f24b1a93653 100644 (file)
@@ -3,6 +3,8 @@
 use warnings;
 use strict;
 use IkiWiki;
+use Encode;
+use open qw{:utf8 :std};
 
 package IkiWiki;
 
@@ -228,7 +230,7 @@ sub _parse_diff_tree (@) { #{{{
                        }
                        if (length $file) {
                                push @{ $ci{'details'} }, {
-                                       'file'      => $file,
+                                       'file'      => decode_utf8($file),
                                        'sha1_from' => $sha1_from,
                                        'sha1_to'   => $sha1_to,
                                };