From d3beba36c2c23f5b2e84f2c172270599d174d1ec 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 Content-Type: text/plain; charset=utf-8 Test plan: Verify about>Timeline is correctly encoded Signed-off-by: Tomas Cohen Arazi Signed-off-by: Marcel de Rooy Replaced 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; -- 1.7.7.6