Bug 5616: Corrects an utf-8 encoding problem in cardviews
authorFrédérick Capovilla <frederick.capovilla@sys-tech.net>
Mon, 7 Feb 2011 15:35:56 +0000 (10:35 -0500)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 9 Feb 2011 17:16:54 +0000 (12:16 -0500)
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 07731037ee453fe3537c257b07be9c49b66e8ced)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
catalogue/showmarc.pl

index d0011ba..d316833 100755 (executable)
@@ -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 {