* Patch from Recai to fix a wide character warning from the search plugin

during setup if the wikiname contains utf8.
master
joey 2006-09-15 17:10:53 +00:00
parent c1b3572d4d
commit dfedb0351d
2 changed files with 4 additions and 2 deletions

View File

@ -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",
"<!--ESTFORM-->\n\n<!--ESTRESULT-->\n\n<!--ESTINFO-->\n\n",

4
debian/changelog vendored
View File

@ -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 <joeyh@debian.org> Fri, 15 Sep 2006 13:02:48 -0400
-- Joey Hess <joeyh@debian.org> Fri, 15 Sep 2006 13:10:06 -0400
ikiwiki (1.26) unstable; urgency=low