Bug 22075: Fix encoding problem with RIS export in OPAC
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 7 Apr 2019 16:25:28 +0000 (16:25 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 16 Apr 2019 20:45:17 +0000 (20:45 +0000)
commitc14c725a5333e98fd4a4276c62047923d06f8c4f
tree864b9b40af91946044765a9990d3ff891b3f1677
parenteda7dacae3647f5f30880bad1ec3eef159011788
Bug 22075: Fix encoding problem with RIS export in OPAC

When exporting a record with diacritics in RIS
format from the detail page in OPAC the encoding
is not correct and the diacritics appear broken.

This patch fixes it.

To test:
- Find or create a record with some special
  chars in your OPAC
- Go to the detail page
- Save as > RIS
- Verify the diacritics are broken in an editor
- Apply patch
- Repeat and verify everything now displays correctly

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit bfeac6486516f185d9882d294d5000ab773c7dd5)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit ad2a3c5e8034d82edda187aa113029eb4f07b4bb)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
opac/opac-export.pl