staged MARC import: handle non-ASCII characters in items
authorGalen Charlton <galen.charlton@liblime.com>
Thu, 31 Jan 2008 19:43:17 +0000 (13:43 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Sun, 3 Feb 2008 13:22:21 +0000 (07:22 -0600)
commit718ff8b3397c3b63309beec15f369932a1662b80
tree3325161b850149c18ec2ee2bf9aef4221cde753e
parentf9f246cb1ecdc6f257a1eb1410005f0bf95ef4ae
staged MARC import: handle non-ASCII characters in items

The problem occured during the population of
import_items.marcxml -- the MARC::Record object
created to store the item did not have the Leader/09
set to 'a', which means that MARC::File::XML
tried to transcode code the item from MARC-8 to UTF-8, which
breaks since the MARC data is already in UTF-8 at that point.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/ImportBatch.pm