LP#1442276 Prevent corrupted Unicode chars in MARCTXT and RIS
authorDan Scott <dscott@laurentian.ca>
Fri, 3 Mar 2017 06:40:19 +0000 (01:40 -0500)
committerKathy Lussier <klussier@masslnc.org>
Sat, 11 Mar 2017 03:51:32 +0000 (22:51 -0500)
commit574bba6dcd20787d60cfebcbd7a7a5a23f507bba
tree83b4cc604046cfcce5f2e6f459872efa8ab4823c
parent247cda30bd3df8c11665b6e7b4491b5aaa4015c3
LP#1442276 Prevent corrupted Unicode chars in MARCTXT and RIS

The MARCTXT and RIS feeds use the deprecated XML::LibXSLT::output_string()
method which, depending on the stylesheet, generated either a byte string
or characters. Using output_as_bytes() ensures it is always a byte string
and avoids the resulting MARCTXT and RIS output from corrupting Unicode
characters.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat/Feed.pm