* Patch from Recai to fix utf8 issues in git backend.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 5 Jul 2006 20:54:10 +0000 (20:54 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 5 Jul 2006 20:54:10 +0000 (20:54 +0000)
IkiWiki/Rcs/git.pm
debian/changelog

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,
                                };
index 4d1cea8a9b8712e448025e80a5593eb510cc5850..6b7c1a6796970be2f84ee54ce110cb6565cb70e4 100644 (file)
@@ -3,8 +3,9 @@ ikiwiki (1.9) UNRELEASED; urgency=low
   * Improve display of parentlinks and page title of toplevel index page.
   * Patch from Faidon to use svn --limit when possible for recentchanges,
     speeds up recentchanges a lot for wikis with more history.
+  * Patch from Recai to fix utf8 issues in git backend.
 
- -- Joey Hess <joeyh@debian.org>  Wed,  5 Jul 2006 13:33:59 -0400
+ -- Joey Hess <joeyh@debian.org>  Wed,  5 Jul 2006 16:53:34 -0400
 
 ikiwiki (1.8) unstable; urgency=low