[Koha] Problem with perl parser when adding a notice

Raphael Ordinas rordinas at wanadoo.fr
Fri Mar 26 03:27:25 NZDT 2010


Hello,

I'm using koha-2.2.9 with mysql-5.0, apache-2.2, and perl-5.10.

Everything was working fine until now.

When I try to add a notice with some special character (é, è, ö, ...) i 
get an error 500.
I think that the issue come from the perl parser(s).


Here is an extract from the log when I use [XML::LibXML::SAX::Parser]:
[Thu Mar 25 14:59:50 2010] [error] [client 134.157.19.10] :14: parser 
error : Input is not proper UTF-8, indicate encoding !, referer: 
http://pcubuntu:82/cgi-bin/koha/acqui.simple/addbiblio.pl?breedingid=7237
[Thu Mar 25 14:59:50 2010] [error] [client 134.157.19.10] Bytes: 0xE9 
0x73 0x20 0x2F, referer: 
http://pcubuntu:82/cgi-bin/koha/acqui.simple/addbiblio.pl?breedingid=7237
[Thu Mar 25 14:59:50 2010] [error] [client 134.157.19.10] <subfield 
code="b">cours et exercices corrig\xe9s /</subfield>, referer: 
http://pcubuntu:82/cgi-bin/koha/acqui.simple/addbiblio.pl?breedingid=7237
[Thu Mar 25 14:59:50 2010] [error] [client 
134.157.19.10]                                                         
                    ^ at /usr/lib/perl5/XML/LibXML/SAX/Parser.pm line 
31, referer: 
http://pcubuntu:82/cgi-bin/koha/acqui.simple/addbiblio.pl?breedingid=7237
[Thu Mar 25 14:59:50 2010] [error] [client 134.157.19.10] Premature end 
of script headers: addbiblio.pl, referer: 
http://pcubuntu:82/cgi-bin/koha/acqui.simple/addbiblio.pl?breedingid=7237




and one when I use [XML::LibXML::SAX] :

[Thu Mar 25 15:17:24 2010] [error] [client 134.157.19.10] Input is not 
proper UTF-8, indicate encoding !, referer: 
http://pcubuntu:82/cgi-bin/koha/acqui.simple/addbiblio.pl?breedingid=7237
[Thu Mar 25 15:17:24 2010] [error] [client 134.157.19.10] Bytes: 0xE9 
0x73 0x20 0x2F at /usr/lib/perl5/XML/LibXML/SAX.pm line 64, referer: 
http://pcubuntu:82/cgi-bin/koha/acqui.simple/addbiblio.pl?breedingid=7237
[Thu Mar 25 15:17:24 2010] [error] [client 134.157.19.10]  at 
/usr/share/perl5/MARC/File/XML.pm line 448, referer: 
http://pcubuntu:82/cgi-bin/koha/acqui.simple/addbiblio.pl?breedingid=7237
[Thu Mar 25 15:17:24 2010] [error] [client 134.157.19.10] Premature end 
of script headers: addbiblio.pl, referer: 
http://pcubuntu:82/cgi-bin/koha/acqui.simple/addbiblio.pl?breedingid=7237

Can anyone help me with this issue ?

Thanks

PS : Sorry for my english which is a little bit rusty



More information about the Koha mailing list