]> git.donarmstrong.com Git - lilypond.git/commitdiff
Web: really read search-box HTML file in UTF-8
authorJohn Mandereau <john.mandereau@gmail.com>
Sun, 10 Jan 2010 23:49:34 +0000 (00:49 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Sun, 10 Jan 2010 23:51:07 +0000 (00:51 +0100)
Documentation/lilypond-texi2html.init

index 938d77fde84084314e30b87397334cc757bc2314..7bea5ad3ac153bbd75e79851f1d4f3e76647f982 100644 (file)
@@ -1189,7 +1189,7 @@ sub lilypond_generate_page_toc_body($)
     open FILE, "$ENV{TOP_SRC_DIR}/Documentation/$lang/$name.ihtml" or
        open FILE, "$ENV{TOP_SRC_DIR}/Documentation/$name.ihtml"  or
        die "no such file: $name.ihtml: $!";
-    my $search_string = <FILE>;
+    my $search_string = decode ('UTF-8', <FILE>);
     $search_string = "<li>\n" . $search_string . "</li>\n";
     push (@toc_entries, $search_string);
     close FILE;