From 1f7afe4d4aa77062ee49f176b8b08ea9672744db Mon Sep 17 00:00:00 2001 From: dbs Date: Wed, 3 Jun 2009 01:10:39 +0000 Subject: [PATCH] Tell MARC::File::XML to treat the XML as UTF8, otherwise non-ASCII characters get mangled. git-svn-id: svn://svn.open-ils.org/ILS/trunk@13295 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Utils/MFHDParser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Utils/MFHDParser.pm b/Open-ILS/src/perlmods/OpenILS/Utils/MFHDParser.pm index eb9998ad10..5e7e5ec8d4 100644 --- a/Open-ILS/src/perlmods/OpenILS/Utils/MFHDParser.pm +++ b/Open-ILS/src/perlmods/OpenILS/Utils/MFHDParser.pm @@ -8,7 +8,7 @@ use OpenSRF::Utils::SettingsClient; use OpenSRF::Utils::Logger qw/$logger/; use OpenILS::Utils::MFHD; -use MARC::File::XML; +use MARC::File::XML (BinaryEncoding => 'utf8'); use Data::Dumper; sub new { return bless( {}, shift() ); } -- 2.11.0