[Koha-bugs] [Bug 6554] Resolve encoding problems with corrected UTF8 handling in templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 3 13:53:19 CEST 2013


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

--- Comment #107 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Galen,
I don't know why, a remainder of the first patch still exists on master, which
cause some trouble with encoding.

The binmode routine is called in master:
sub output_html_with_http_headers {
    binmode( STDOUT, ":encoding(utf8)" );
    my ( $query, $cookie, $data, $status ) = @_;
    output_with_http_headers( $query, $cookie, $data, 'html', $status );
}

This line was not deleted by the revert commit.

commit d542740ab8877234d043c8a11cb19a6004e72656
Author: Dobrica Pavlinusic <dpavlin at rot13.org>
Date:   Sun Jun 10 15:18:42 2012 +0100
    Bug 6554 - make Koha internally utf-8 clean

git show d542740ab8877234d043c8a11cb19a6004e72656 C4/Output.pm
+++ b/C4/Output.pm
@@ -308,6 +308,7 @@ sub output_with_http_headers {
 }

 sub output_html_with_http_headers {
+    binmode( STDOUT, ":encoding(utf8)" );


commit a7eb34f2c8a281ef83f711e581079a2232296c88
Author:     Galen Charlton <gmc at esilibrary.com>
CommitDate: Mon Apr 29 15:12:32 2013 -0700
    Revert "Bug 6554 - make Koha internally utf-8 clean"

git show a7eb34f2c8a281ef83f711e581079a2232296c88 C4/Output.pm
returns nothing

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


More information about the Koha-bugs mailing list