Correct encoding issue with authority_control_fields.pl
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 19 Apr 2011 01:03:58 +0000 (01:03 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 19 Apr 2011 01:03:58 +0000 (01:03 +0000)
Is there ever a time when MARC::File::XML would be invoked with
anything other than BinaryEncoding => 'utf-8'? Not here, at
least. Addresses LP# 764582.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20182 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/support-scripts/authority_control_fields.pl

index bb87a4b..1b28a6e 100755 (executable)
@@ -18,7 +18,7 @@ use warnings;
 use DBI;
 use Getopt::Long;
 use MARC::Record;
-use MARC::File::XML;
+use MARC::File::XML (BinaryEncoding => 'UTF-8');
 use OpenSRF::System;
 use OpenILS::Utils::Fieldmapper;
 use OpenSRF::Utils::SettingsClient;