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};
sub template_params (@) { #{{{
my $filename=shift;
- require Encode;
require HTML::Template;
return filter => sub {
my $text_ref = shift;
use IkiWiki;
use IkiWiki::UserInfo;
use encoding 'utf8'; # force use of utf8 for io layer
+use Encode;
package IkiWiki;
require IkiWiki::Render;
# Apparently FormBuilder doesn't not treat input as
# utf-8, so decode from it.
- require Encode;
my $content = Encode::decode_utf8($form->field('editcontent'));
my $comments = Encode::decode_utf8($form->field('comments'));
$form->field(name => "editcontent",
page_locked($page, $session);
# Decode utf-8 since FormBuilder does not
- require Encode;
my $content=Encode::decode_utf8($form->field('editcontent'));
$content=~s/\r\n/\n/g;
to be read as utf8.
* Support pages with utf8 filenames. Patch by Faidon Liambotis.
- -- Joey Hess <joeyh@debian.org> Mon, 3 Jul 2006 16:09:16 -0400
+ -- Joey Hess <joeyh@debian.org> Mon, 3 Jul 2006 16:17:20 -0400
ikiwiki (1.7) unstable; urgency=low