LP1584891: Export MARC holdings with UTF8 subfields
authorDan Scott <dscott@laurentian.ca>
Wed, 22 Feb 2017 16:29:21 +0000 (11:29 -0500)
committerDan Scott <dan@coffeecode.net>
Sat, 4 Mar 2017 03:11:17 +0000 (22:11 -0500)
commit7b64bf9f4a035124ce78e86203aa1cf90cd92786
tree5fc6a2f1a2f886bc732ec00100f0bc7f4b4b1d29
parentf78a75121cd7f622ea63cd04fbd431ebd15d5fcf
LP1584891: Export MARC holdings with UTF8 subfields

The --items option of marc_export adds a new MARC 852 field with a
number of subfields that it retrieves from the database. If those
subfields (such as call number, copy location, etc) contain Unicode
characters, then we need to decode the incoming UTF8 characters
when adding the subfield values to avoid corrupting the MARC.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/support-scripts/marc_export.in