From bc81f5f3b77e10ff81346175746749502829a435 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 (cherry picked from commit 9cf3a2276527585bafe7b903b6d5acabe77c4f7a) Signed-off-by: Chris Cormack --- about.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/about.pl b/about.pl index 4fbc7e89d4..6addc4b687 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