From: joey Date: Sun, 20 Aug 2006 20:45:55 +0000 (+0000) Subject: * Fix utf-8 in blog post form. X-Git-Tag: 1.21~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=132e41500f54d5e5d92ebf0a53349511e5ade6c3;p=ikiwiki.git * Fix utf-8 in blog post form. --- diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index f1f83cfc4..4c15be0ae 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -614,7 +614,7 @@ sub cgi () { #{{{ cgi_prefs($q, $session); } elsif ($do eq 'blog') { - my $page=titlepage($q->param('title')); + my $page=titlepage(decode_utf8($q->param('title'))); # if the page already exists, munge it to be unique my $from=$q->param('from'); my $add=""; diff --git a/debian/changelog b/debian/changelog index 61379c5fb..22db661bd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,8 +16,9 @@ ikiwiki (1.21) UNRELEASED; urgency=low Talens-Oliag. Note that this has many known issues -- see the caveats on the plugin's page. * Credit everyone who wrote a plugin on the plugins' wiki pages. + * Fix utf-8 in blog post form. - -- Joey Hess Sat, 19 Aug 2006 00:56:32 -0400 + -- Joey Hess Sun, 20 Aug 2006 16:40:51 -0400 ikiwiki (1.20) unstable; urgency=low