[open-ils-commits] r20183 - branches/rel_2_1/Open-ILS/src/support-scripts (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Apr 18 21:08:02 EDT 2011


Author: dbs
Date: 2011-04-18 21:08:00 -0400 (Mon, 18 Apr 2011)
New Revision: 20183

Modified:
   branches/rel_2_1/Open-ILS/src/support-scripts/authority_control_fields.pl
Log:
Correct encoding issue with authority_control_fields.pl

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.


Modified: branches/rel_2_1/Open-ILS/src/support-scripts/authority_control_fields.pl
===================================================================
--- branches/rel_2_1/Open-ILS/src/support-scripts/authority_control_fields.pl	2011-04-19 01:03:58 UTC (rev 20182)
+++ branches/rel_2_1/Open-ILS/src/support-scripts/authority_control_fields.pl	2011-04-19 01:08:00 UTC (rev 20183)
@@ -18,7 +18,7 @@
 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;



More information about the open-ils-commits mailing list