From 89697f2c7a9cebc9e0c33ca1d056388b9e827eb8 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 5 Jul 2006 20:54:10 +0000 Subject: * Patch from Recai to fix utf8 issues in git backend. --- IkiWiki/Rcs/git.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'IkiWiki/Rcs') 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, }; -- cgit v1.2.3