Bug 17359: Correct encoding when displaying patron import summary
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 16 Oct 2019 08:47:28 +0000 (10:47 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 15 Nov 2019 09:25:37 +0000 (10:25 +0100)
commit647a986b617124377dfab0a761a134300c75c7f8
tree70ee1250a19c3bca4241c869797b1c1d5dbe04b2
parentf85478c8ac490de3318e9a7715969bdaf59abe88
Bug 17359: Correct encoding when displaying patron import summary

There is an encoding issue when the patron import summry, the string
must be UTF8 decoded before being sent to the template.

Test plan:
- Create a patron import CSV file with import issues. Use UTF8 characters.
See file attached to the bug report 'patron_import.csv'
=> The screen should display the line correctly
- Correct the import issue (add a surname for Chloé)
=> The imported patrons should contain the correct values.

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 5b03d4be39497be0dbdce17ef26867ca80affec1)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Patrons/Import.pm