From 62391ab1d77ef9e1c8f88c5e72264450b262af93 Mon Sep 17 00:00:00 2001 From: Frederic Demians Date: Tue, 20 May 2008 18:41:35 +0200 Subject: [PATCH] Fix an encoding issue on circulation autocompletion ysearch.pl returns a list of borrower details for circulation autocomplete widget. Accented characters wasn't displayed correctly. Signed-off-by: Joshua Ferraro --- circ/ysearch.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/circ/ysearch.pl b/circ/ysearch.pl index ee383aa740..cdd2530f9a 100755 --- a/circ/ysearch.pl +++ b/circ/ysearch.pl @@ -32,6 +32,7 @@ use C4::Auth qw/check_cookie_auth/; my $input = new CGI; my $query = $input->param('query'); +binmode STDOUT, ":utf8"; print $input->header(-type => 'text/plain', -charset => 'UTF-8'); my ($auth_status, $sessionID) = check_cookie_auth($input->cookie('CGISESSID'), { circulate => '*' }); -- 2.39.5