Bug 13579: Open history.txt using utf-8 encoding
[koha-equinox.git] / about.pl
index 7f0da61..9fd1545 100755 (executable)
--- a/about.pl
+++ b/about.pl
@@ -223,7 +223,7 @@ if ( defined C4::Context->config('docdir') ) {
     $docdir = C4::Context->config('intranetdir') . '/docs';
 }
 
-if ( open( my $file, "<", "$docdir" . "/history.txt" ) ) {
+if ( open( my $file, "<:encoding(UTF-8)", "$docdir" . "/history.txt" ) ) {
 
     my $i = 0;