Bug 13579: Open history.txt using utf-8 encoding

Test plan:
Verify about>Timeline is correctly encoded

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Replaced <encoding by <:encoding.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Jonathan Druart 2015-01-14 13:47:22 +01:00 committed by Tomas Cohen Arazi
parent 178e51cad7
commit 9cf3a22765

View file

@ -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;