Bug 10549

Summary: ILS-DI should not use ISO-8851-9 encoding
Product: Koha Reporter: Mirko Tietgen <mirko>
Component: Web servicesAssignee: Mirko Tietgen <mirko>
Status: CLOSED FIXED QA Contact:
Severity: trivial    
Priority: P5 - low CC: bgkriegel, chrish, gmcharlt, katrin.fischer, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 10549 ILS-DI should not use ISO-8851-9 encoding
This patch changes a few occurences of ISO-8859-1 to UTF-8 within the XML generation of the ILS-DI module.
[SIGNED OFF] ILS-DI should not use ISO-8851-9 encoding
[SIGNED OFF] ILS-DI should not use ISO-8851-9 encoding
ILS-DI should not use ISO-8851-9 encoding

Description Mirko Tietgen 2013-07-06 21:33:37 UTC
ILS-DI outputs XML in ISO-8859-1 encoding.
Comment 1 Mirko Tietgen 2013-07-08 15:20:14 UTC Comment hidden (obsolete)
Comment 2 Mirko Tietgen 2013-07-08 15:33:57 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2013-07-10 21:36:23 UTC
Mirko, we are missing a test plan ;)
Comment 4 Katrin Fischer 2013-07-10 21:42:36 UTC
Giving it a try anyway ... :)
Comment 5 Katrin Fischer 2013-07-10 22:10:37 UTC Comment hidden (obsolete)
Comment 6 Katrin Fischer 2013-07-10 22:11:52 UTC Comment hidden (obsolete)
Comment 7 Kyle M Hall 2013-07-12 16:29:04 UTC
Created attachment 19605 [details] [review]
ILS-DI should not use ISO-8851-9 encoding

This patch changes a few occurences of ISO-8859-1 to UTF-8
within the XML generation of the ILS-DI module.

http://bugs.koha-community.org/show_bug.cgi?id=10549

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
To test:
- Activate ILS-DI system preference
- Go to [youropac]/cgi-bin/koha/ilsdi.pl
- Check all examples in the documentation for the correct
  encoding
- Check GetAvailability gives you the correct encoding and
  check the source for the correct encoding

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 8 Galen Charlton 2013-07-17 19:15:53 UTC
Pushed to master, along with a follow-up to ensure that the output of the GetAvailability service is actually encoded as UTF-8.  Thanks, Mirko!
Comment 9 Tomás Cohen Arazi 2013-08-13 16:52:00 UTC
This patch has been pushed to 3.12.x, will be in 3.12.4.

Thanks Mirko!
Comment 10 Bernardo Gonzalez Kriegel 2013-09-13 21:21:29 UTC
Pushed to 3.10.x, will be in 3.10.11
Comment 11 Chris Hall 2013-09-15 05:17:07 UTC
Pushed to 3.8.x, will be in 3.8.18.