]> git.evergreen-ils.org Git - Evergreen.git/commit
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)
committerDan Scott <dscott@laurentian.ca>
Sun, 12 Mar 2017 04:19:39 +0000 (23:19 -0500)
commit471807efdf03816b6b22aebf0ff29a0e3e730699
treed59340206e312fdaef16aa4da4dea5ca3333db6f
parent2314b4d1df8d07ba6ce176e94e6c25417ce65624
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