From 89697f2c7a9cebc9e0c33ca1d056388b9e827eb8 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 5 Jul 2006 20:54:10 +0000 Subject: [PATCH] * Patch from Recai to fix utf8 issues in git backend. --- IkiWiki/Rcs/git.pm | 4 +++- debian/changelog | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/IkiWiki/Rcs/git.pm b/IkiWiki/Rcs/git.pm index 636eb57f5..6cbcfd14e 100644 --- a/IkiWiki/Rcs/git.pm +++ b/IkiWiki/Rcs/git.pm @@ -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, }; diff --git a/debian/changelog b/debian/changelog index 4d1cea8a9..6b7c1a679 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 5 Jul 2006 13:33:59 -0400 + -- Joey Hess Wed, 5 Jul 2006 16:53:34 -0400 ikiwiki (1.8) unstable; urgency=low -- 2.32.0.93.g670b81a890