From: joey Date: Fri, 15 Sep 2006 17:10:53 +0000 (+0000) Subject: * Patch from Recai to fix a wide character warning from the search plugin X-Git-Tag: 1.27~83 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/dfedb0351d154cd1d58e719012f4b1dda3a07666?ds=inline * Patch from Recai to fix a wide character warning from the search plugin during setup if the wikiname contains utf8. --- diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index 4ae9d7283..2d8c3d4e1 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -79,7 +79,7 @@ sub estcfg () { #{{{ my $estdir="$config{wikistatedir}/hyperestraier"; my $cgi=IkiWiki::basename($config{cgiurl}); $cgi=~s/\..*$//; - open(TEMPLATE, ">$estdir/$cgi.tmpl") || + open(TEMPLATE, ">:utf8", "$estdir/$cgi.tmpl") || error("write $estdir/$cgi.tmpl: $!"); print TEMPLATE IkiWiki::misctemplate("search", "\n\n\n\n\n\n", diff --git a/debian/changelog b/debian/changelog index 4b42a933e..93d2973cd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -30,8 +30,10 @@ ikiwiki (1.27) UNRELEASED; urgency=low * Change ddate plugin to use the DateTime::Calendar::Discordian perl module. * Fix a baseurl problem in hyperestradier search results. * Add a stub local.css to avoid problems with 404's. + * Patch from Recai to fix a wide character warning from the search plugin + during setup if the wikiname contains utf8. - -- Joey Hess Fri, 15 Sep 2006 13:02:48 -0400 + -- Joey Hess Fri, 15 Sep 2006 13:10:06 -0400 ikiwiki (1.26) unstable; urgency=low