[Koha-patches] [PATCH] [SIGNED-OFF] Corrects an utf-8 encoding problem in cardviews

Owen Leonard oleonard at myacpl.org
Mon Feb 7 16:35:56 CET 2011


From: Frédérick Capovilla <frederick.capovilla at sys-tech.net>


Signed-off-by: Owen Leonard <oleonard at myacpl.org>
---
 catalogue/showmarc.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/catalogue/showmarc.pl b/catalogue/showmarc.pl
index d0011ba..d316833 100755
--- a/catalogue/showmarc.pl
+++ b/catalogue/showmarc.pl
@@ -79,6 +79,7 @@ my $results = $stylesheet->transform($source);
 my $newxmlrecord = $stylesheet->output_string($results);
 #warn $newxmlrecord;
 print "Content-type: text/html\n\n";
+utf8::encode($newxmlrecord);
 print $newxmlrecord;
 
 } else {
-- 
1.7.3



More information about the Koha-patches mailing list