Fix so ysearch.pl uses utf-8

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Cormack 2007-12-05 12:43:45 -06:00 committed by Joshua Ferraro
parent 71b814b90c
commit 0bc686acf9
1 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,7 @@ use C4::Context;
my $input = new CGI;
my $query = $input->param('query');
# FIXME: charset should be UTF-8 but borrowers table is still ISO-8859-1
print $input->header(-type => 'text/plain', -charset => 'ISO-8859-1');
print $input->header(-type => 'text/plain', -charset => 'UTF-8');
my $dbh = C4::Context->dbh;
$query = "SELECT surname, firstname, cardnumber, address, city, zipcode ".