]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/lilypond-texi2html.init
Web: really read search-box HTML file in UTF-8
[lilypond.git] / 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;