aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Render.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-05 18:20:25 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-05 18:20:25 +0000
commit56378a14e2c41902d8d97bf51d26446e42a83ab3 (patch)
tree7d84a47ea062f85773d2284cde881ef3ec2bf124 /IkiWiki/Render.pm
parent97e6f39dd0643ec9ce2f9d3488941d9e768c4392 (diff)
downloadikiwiki-56378a14e2c41902d8d97bf51d26446e42a83ab3.tar
ikiwiki-56378a14e2c41902d8d97bf51d26446e42a83ab3.tar.gz
Encode:: cleanup from Recai
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r--IkiWiki/Render.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index ab43717c6..6d5ea9ee5 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -222,7 +222,7 @@ sub displaytime ($) { #{{{
eval q{use POSIX};
# strftime doesn't know about encodings, so make sure
# its output is properly treated as utf8
- return Encode::decode_utf8(POSIX::strftime(
+ return decode_utf8(POSIX::strftime(
$config{timeformat}, localtime($time)));
} #}}}
@@ -310,7 +310,7 @@ sub refresh () { #{{{
find({
no_chdir => 1,
wanted => sub {
- $_ = Encode::decode_utf8($_);
+ $_=decode_utf8($_);
if (/$config{wiki_file_prune_regexp}/) {
$File::Find::prune=1;
}
@@ -330,7 +330,7 @@ sub refresh () { #{{{
find({
no_chdir => 1,
wanted => sub {
- $_ = Encode::decode_utf8($_);
+ $_=decode_utf8($_);
if (/$config{wiki_file_prune_regexp}/) {
$File::Find::prune=1;
}