LP1584891: Export MARC holdings with UTF8 subfields user/csharp/lp1584891_marc_export_unicode_items
authorDan Scott <dscott@laurentian.ca>
Wed, 22 Feb 2017 16:29:21 +0000 (11:29 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 3 Mar 2017 19:00:22 +0000 (14:00 -0500)
commitc762b6c99c9610559a11472a3337af478c5f4924
tree5559d2ad4056f7f163b7c4156353e825900b5d89
parenta3d1b7c215d2a7f5c14c0e013a3dfcae8dfe150d
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