From ac3224557f8b4596994fbf884fbaf37e6f713821 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 5 Mar 2014 13:44:49 +0100 Subject: [PATCH] Bug 11493: Revert "Bug 6869 Batch item modification fails whit accented characters" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This reverts commit c9905750e53e2e1615842ac696d5eeb0a8ac07fc. Test plan: 1/ Open a bib record with more than 1 item , 2/ Select all items 3/ Chose Modify selected items 4/ put you "ق ك و" in notes 5/ Verify the items have been updated correctly 6/ put you "éàç" in notes 7/ Verify the items have been updated correctly 8/ put you "ق ك و éàç" in notes 9/ Verify the items have been updated correctly Patch behaves as expected. Signed-off-by: Marc Véron Signed-off-by: Katrin Fischer Confirmed bug on master and that the patch fixes it. Passes all tests and the QA script. Signed-off-by: Galen Charlton (cherry picked from commit e55d89be20acb58deb45a30c113bf0f07170fd33) Signed-off-by: Kyle M Hall (cherry picked from commit 1bf1dacc7b2ec64b9b17d9b3947209918b3ba02f) --- tools/batchMod.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/batchMod.pl b/tools/batchMod.pl index 840ae17697..6e4b36e176 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -139,7 +139,6 @@ if ($op eq "action") { my ( $itemtagfield, $itemtagsubfield) = &GetMarcFromKohaField("items.itemnumber", ""); if ($values_to_modify){ my $xml = TransformHtmlToXml(\@tags,\@subfields,\@values,\@indicator,\@ind_tag, 'ITEM'); - utf8::encode($xml); $marcitem = MARC::Record::new_from_xml($xml, 'UTF-8'); } if ($values_to_blank){ -- 2.39.5