[Koha-bugs] [Bug 6554] Broken encoding in members home/search page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 26 14:36:27 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6554

--- Comment #39 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
This would work for me:

Output.pm (binmode removed), output_with_http_headers: 
    $data =~ s/\&amp\;amp\; /\&amp\; /g;
    utf8::encode($data);
    print $query->header($options), $data;

XSLT.pm (XSLTParse4Display):
    my $newxmlrecord = $stylesheet->{$xslfilename}->output_as_chars($results);
?    utf8::decode($newxmlrecord);
    return $newxmlrecord;

Note that output_string seems to be deprecated.
Decoding newxmlrecord seems to be not necessary..

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list