[open-ils-commits] r20250 - in trunk/Open-ILS/src: extras extras/import perlmods/lib/OpenILS/Application perlmods/lib/OpenILS/Application/Acq perlmods/lib/OpenILS/Application/Search perlmods/lib/OpenILS/Application/Storage/Publisher perlmods/lib/OpenILS/WWW support-scripts (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 20 12:07:58 EDT 2011
Author: miker
Date: 2011-04-20 12:07:55 -0400 (Wed, 20 Apr 2011)
New Revision: 20250
Modified:
trunk/Open-ILS/src/extras/import/direct_ingest.pl
trunk/Open-ILS/src/extras/import/direct_loader.pl
trunk/Open-ILS/src/extras/import/marcFilterDump.pl
trunk/Open-ILS/src/extras/import/marc_add_ids
trunk/Open-ILS/src/extras/marc2html
trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Picklist.pm
trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Z3950.pm
trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/asset.pm
trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm
trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/Exporter.pm
trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm
trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm
trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/Vandelay.pm
trunk/Open-ILS/src/support-scripts/marc_export.in
trunk/Open-ILS/src/support-scripts/marc_stream_importer.pl
Log:
Always use BinaryEncodeing => "UTF-8" with MARC::File::XML
Modified: trunk/Open-ILS/src/extras/import/direct_ingest.pl
===================================================================
--- trunk/Open-ILS/src/extras/import/direct_ingest.pl 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/extras/import/direct_ingest.pl 2011-04-20 16:07:55 UTC (rev 20250)
@@ -21,7 +21,7 @@
use Time::HiRes qw/time/;
use Getopt::Long;
use MARC::Batch;
-use MARC::File::XML;
+use MARC::File::XML (BinaryEncoding => 'UTF-8');
use MARC::Charset;
MARC::Charset->ignore_errors(1);
Modified: trunk/Open-ILS/src/extras/import/direct_loader.pl
===================================================================
--- trunk/Open-ILS/src/extras/import/direct_loader.pl 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/extras/import/direct_loader.pl 2011-04-20 16:07:55 UTC (rev 20250)
@@ -21,7 +21,7 @@
use Time::HiRes qw/time/;
use Getopt::Long;
use MARC::Batch;
-use MARC::File::XML;
+use MARC::File::XML (BinaryEncoding => 'UTF-8');
use MARC::Charset;
MARC::Charset->ignore_errors(1);
Modified: trunk/Open-ILS/src/extras/import/marcFilterDump.pl
===================================================================
--- trunk/Open-ILS/src/extras/import/marcFilterDump.pl 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/extras/import/marcFilterDump.pl 2011-04-20 16:07:55 UTC (rev 20250)
@@ -2,7 +2,7 @@
use strict;
use Error qw/:try/;
use MARC::Batch;
-use MARC::File::XML;
+use MARC::File::XML (BinaryEncoding => 'UTF-8');
use XML::LibXML;
use Getopt::Long;
use encoding 'utf8';
Modified: trunk/Open-ILS/src/extras/import/marc_add_ids
===================================================================
--- trunk/Open-ILS/src/extras/import/marc_add_ids 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/extras/import/marc_add_ids 2011-04-20 16:07:55 UTC (rev 20250)
@@ -6,7 +6,7 @@
use Getopt::Long;
use MARC::Record;
use MARC::Charset;
-use MARC::File::XML;
+use MARC::File::XML (BinaryEncoding => 'UTF-8');
use Error qw/:try/;
MARC::Charset->assume_unicode(1);
Modified: trunk/Open-ILS/src/extras/marc2html
===================================================================
--- trunk/Open-ILS/src/extras/marc2html 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/extras/marc2html 2011-04-20 16:07:55 UTC (rev 20250)
@@ -2,7 +2,7 @@
use Error qw/:try/;
use MARC::Batch;
-use MARC::File::XML;
+use MARC::File::XML (BinaryEncoding => 'UTF-8');
use XML::LibXSLT;
use XML::LibXML;
use Unicode::Normalize;
Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm 2011-04-20 16:07:55 UTC (rev 20250)
@@ -188,7 +188,7 @@
use OpenILS::Application::Cat::AssetCommon;
use MARC::Record;
use MARC::Batch;
-use MARC::File::XML;
+use MARC::File::XML (BinaryEncoding => 'UTF-8');
my $U = 'OpenILS::Application::AppUtils';
Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Picklist.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Picklist.pm 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Picklist.pm 2011-04-20 16:07:55 UTC (rev 20250)
@@ -13,7 +13,7 @@
use OpenSRF::Utils::Cache;
use MARC::Record;
use MARC::Batch;
-use MARC::File::XML;
+use MARC::File::XML (BinaryEncoding => 'UTF-8');
use MIME::Base64;
use Digest::MD5 qw/md5_hex/;
use OpenILS::Application::Acq::Financials;
Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Z3950.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Z3950.pm 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Z3950.pm 2011-04-20 16:07:55 UTC (rev 20250)
@@ -4,7 +4,8 @@
use OpenILS::Utils::ZClient;
use MARC::Record;
-use MARC::File::XML;
+use MARC::File::XML (BinaryEncoding => 'UTF-8');
+use MARC::Charset;
use Unicode::Normalize;
use XML::LibXML;
@@ -16,6 +17,9 @@
use OpenSRF::Utils::Logger qw/$logger/;
use OpenILS::Utils::CStoreEditor q/:funcs/;
+MARC::Charset->assume_unicode(1);
+MARC::Charset->ignore_errors(1);
+
my $output = "usmarc";
my $U = 'OpenILS::Application::AppUtils';
Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/asset.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/asset.pm 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/asset.pm 2011-04-20 16:07:55 UTC (rev 20250)
@@ -11,7 +11,7 @@
my $log = 'OpenSRF::Utils::Logger';
use MARC::Record;
-use MARC::File::XML;
+use MARC::File::XML ( BinaryEncoding => 'UTF-8' );
sub circ_count {
my $self = shift;
Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm 2011-04-20 16:07:55 UTC (rev 20250)
@@ -11,7 +11,7 @@
use OpenILS::Utils::CStoreEditor qw/:funcs/;
use MARC::Batch;
use MARC::Record;
-use MARC::File::XML;
+use MARC::File::XML ( BinaryEncoding => 'UTF-8' );
use OpenILS::Utils::Fieldmapper;
use Time::HiRes qw(time);
use OpenSRF::Utils::Logger qw/$logger/;
Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/Exporter.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/Exporter.pm 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/Exporter.pm 2011-04-20 16:07:55 UTC (rev 20250)
@@ -29,7 +29,7 @@
use OpenSRF::Utils::Logger qw/$logger/;
use MARC::Record;
-use MARC::File::XML;
+use MARC::File::XML ( BinaryEncoding => 'UTF-8' );
use UNIVERSAL::require;
Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm 2011-04-20 16:07:55 UTC (rev 20250)
@@ -28,7 +28,7 @@
use OpenILS::Application::AppUtils;
use MARC::Record;
-use MARC::File::XML;
+use MARC::File::XML ( BinaryEncoding => 'UTF-8' );
my $log = 'OpenSRF::Utils::Logger';
my $U = 'OpenILS::Application::AppUtils';
Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm 2011-04-20 16:07:55 UTC (rev 20250)
@@ -29,7 +29,7 @@
use OpenSRF::Utils::Logger qw/$logger/;
use MARC::Record;
-use MARC::File::XML;
+use MARC::File::XML ( BinaryEncoding => 'UTF-8' );
use UNIVERSAL::require;
Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/Vandelay.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/Vandelay.pm 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/Vandelay.pm 2011-04-20 16:07:55 UTC (rev 20250)
@@ -25,7 +25,7 @@
use OpenSRF::Utils::Logger qw/$logger/;
use MARC::Record;
-use MARC::File::XML;
+use MARC::File::XML ( BinaryEncoding => 'UTF-8' );
use MIME::Base64;
use Digest::MD5 qw/md5_hex/;
Modified: trunk/Open-ILS/src/support-scripts/marc_export.in
===================================================================
--- trunk/Open-ILS/src/support-scripts/marc_export.in 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/support-scripts/marc_export.in 2011-04-20 16:07:55 UTC (rev 20250)
@@ -14,7 +14,7 @@
use OpenILS::Utils::CStoreEditor;
use MARC::Record;
-use MARC::File::XML;
+use MARC::File::XML ( BinaryEncoding => 'UTF-8' );
use UNIVERSAL::require;
use Time::HiRes qw/time/;
Modified: trunk/Open-ILS/src/support-scripts/marc_stream_importer.pl
===================================================================
--- trunk/Open-ILS/src/support-scripts/marc_stream_importer.pl 2011-04-20 15:43:08 UTC (rev 20249)
+++ trunk/Open-ILS/src/support-scripts/marc_stream_importer.pl 2011-04-20 16:07:55 UTC (rev 20250)
@@ -18,7 +18,7 @@
use base qw/Net::Server::PreFork/;
use MARC::Record;
use MARC::Batch;
-use MARC::File::XML;
+use MARC::File::XML ( BinaryEncoding => 'UTF-8' );
use MARC::File::USMARC;
use Data::Dumper;
More information about the open-ils-commits
mailing list