bug 2926: fix staging import hang
authorGalen Charlton <galen.charlton@liblime.com>
Sat, 6 Jun 2009 21:45:54 +0000 (16:45 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Sun, 7 Jun 2009 18:17:06 +0000 (13:17 -0500)
commitda51de184c1179fd725f0e341c9186b7f5cd585e
treeb9564d01ef1d295c6ad3c7c6d72343f3c90a8e3d
parentbea8db3072abe4cc0e7daa32c1c5ebcffa9713de
bug 2926: fix staging import hang

Fixes a hang of the staging import tool when it
attempts to process a MARC21 record that claims
that it's UTF-8 when it is not.  The staging import
will now attempt to fix the character encoding of such
records.

Also added a FIXME to bulkmarcimport.pl, which because
of its use of MARC::Batch will skip over such records -
better than the original hang of the staging import, but
worse than the staging import's new ability to fix such
records.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Charset.pm
misc/migration_tools/bulkmarcimport.pl