Koha-clms/installer
Jonathan Druart a2ac6ac7dd Bug 19756: Fix encoding issues during the update DB process
To display the output of the updatedatabase.pl under Plack, we redirect
the output to a temporary file, read it, then display it.
We need to open it specifying the correct encoding (utf-8).

Test plan:
1. MariaDB [koha_kohadev]> update systempreferences set value="17.1100000"
where variable="version";
2. restart plack
3. Login
4. Make the update from the interface
=> Without this patch you will see encoding issue:
Upgrade to 17.12.00.000 done (Tē tōia, tē haumatia)
=> With this patch applied you will see :
Upgrade to 17.12.00.000 done (Tē tōia, tē haumatia)

Signed-off-by: Liz Rea <liz@catalyst.net.nz>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit e52486eeba)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2018-01-19 10:05:59 +01:00
..
data/mysql Increment version for 17.05.07 release 2017-12-23 10:58:13 +01:00
externalmodules.pl
…
html-template-to-template-toolkit.pl Bug 5786 - Move AllowOnShelfHolds and OPACItemHolds system prefs to the Circulation Matrix 2015-03-25 10:33:14 -03:00
install.pl Bug 19756: Fix encoding issues during the update DB process 2018-01-19 10:05:59 +01:00
onboarding.pl Revert "Bug 19514: Implement password restrictions into onboarding tool" 2018-01-16 15:26:02 +01:00