]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Patch from Recai to fix a wide character warning from the search plugin
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 15 Sep 2006 17:10:53 +0000 (17:10 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 15 Sep 2006 17:10:53 +0000 (17:10 +0000)
  during setup if the wikiname contains utf8.

IkiWiki/Plugin/search.pm
debian/changelog

index 4ae9d7283f14779e2ea3271ade41fb96b2698a8d..2d8c3d4e16305cf07700ec09553535d08a9aeb57 100644 (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",
index 4b42a933ed8af5e71a435e374281ebe5a8948497..93d2973cd9299bb6fabc740ebf1d40ba80832926 100644 (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