]> git.evergreen-ils.org Git - contrib/Conifer.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:21:11 +0000 (23:21 -0500)
commitf6203116e2623d9be0be8be6b0e6143e574179b3
tree1b1cf2f8d93b5602fe72de6441d0209c2d25c6c3
parent5f796d1a6eb6e7fc902e3465981aabef63ad0934
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