summaryrefslogtreecommitdiff
path: root/IkiWiki/Rcs
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-05 20:54:10 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-05 20:54:10 +0000
commit89697f2c7a9cebc9e0c33ca1d056388b9e827eb8 (patch)
tree35adc82dcc36e1a094abc2cfd495d572bb695d7e /IkiWiki/Rcs
parent56378a14e2c41902d8d97bf51d26446e42a83ab3 (diff)
* Patch from Recai to fix utf8 issues in git backend.
Diffstat (limited to 'IkiWiki/Rcs')
-rw-r--r--IkiWiki/Rcs/git.pm4
1 files changed, 3 insertions, 1 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,
};