aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-03 20:18:16 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-03 20:18:16 +0000
commit929b9de9c2b0f3ed1a0c9e006d084519bd5e0479 (patch)
tree96247503fe0eda132c39375f87cc15b93c3f5905 /IkiWiki.pm
parentfa9517e5bb07fad29fddb219e6c8e8f1b0a08d7e (diff)
downloadikiwiki-929b9de9c2b0f3ed1a0c9e006d084519bd5e0479.tar
ikiwiki-929b9de9c2b0f3ed1a0c9e006d084519bd5e0479.tar.gz
Encode is used in nearly all code paths so stop loading it on demand
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 4be5612f1..7be1c7f58 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -3,7 +3,8 @@
package IkiWiki;
use warnings;
use strict;
-use encoding "utf8";
+use encoding "utf8"; # force use of utf8 for io layer
+use Encode;
use vars qw{%config %links %oldlinks %oldpagemtime %pagectime
%renderedfiles %pagesources %depends %hooks};
@@ -393,7 +394,6 @@ sub saveindex () { #{{{
sub template_params (@) { #{{{
my $filename=shift;
- require Encode;
require HTML::Template;
return filter => sub {
my $text_ref = shift;