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:
parent
178e51cad7
commit
9cf3a22765
1 changed files with 1 additions and 1 deletions
2
about.pl
2
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue