From 9cf3a2276527585bafe7b903b6d5acabe77c4f7a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 14 Jan 2015 13:47:22 +0100 Subject: [PATCH] Bug 13579: Open history.txt using utf-8 encoding Test plan: Verify about>Timeline is correctly encoded Signed-off-by: Tomas Cohen Arazi Signed-off-by: Marcel de Rooy Replaced --- about.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/about.pl b/about.pl index 7f0da61b7b..9fd15455d4 100755 --- 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; -- 2.39.5