]> git.koha-community.org Git - koha.git/commit
do not let MARC::Batch open MARC files
authorGalen Charlton <galen.charlton@liblime.com>
Fri, 21 Mar 2008 19:37:55 +0000 (14:37 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Sat, 22 Mar 2008 02:46:39 +0000 (21:46 -0500)
commitb4f39e5c5877e55baff8cfe4dba02c9475a2547e
treeb0f6195037ff2ff1a4d26a450c7af0f25dd6274f
parentad0639e548794722848f9756f932f0c35cd6f130
do not let MARC::Batch open MARC files

The version of MARC::Batch->new() distributed with version
2.0.0 of MARC::Record, if given a file name, will
open it using the ':utf8' layer.  This results in an
incorrect character conversion when processing records
in the MARC-8 character encoding.

To avoid this, batch jobs that use MARC::Batch now
open the file themselves, then pass the file handle
to MARC::Batch->new().

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
misc/batchCompareMARCvsFrameworks.pl
misc/batchImportMARCWithBiblionumbers.pl
misc/migration_tools/bulkauthimport.pl
misc/migration_tools/bulkmarcimport.pl