Wide character in null operation after Z3950 import
Hi all, We have a Koha/3.00.04_fixed installation in the French language. When we search for a word like "père" in the catalogue, the browser submits the accented e correctly and the search succeeds. Then we attempt to import a biblio record using Z3950 into the catalogue that contains the word "père" we see the following error message: The following fatal error has occurred:Wide character in null operation at /usr/local/share/perl/5.8.8/MARC/Charset/Table.pm line 96. So, I cannot put this down to incorrect URF-8 character encoding in either the web server or the client's browser. Am I correct in suspecting that the character encoding goes amiss somehwere in the Z3950 communications gateway? cheers rickw -- _________________________________ Rick Welykochy || Praxis Services C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, it blows away your whole leg. -- Bjarne "Stumpy" Stroustrup
2009/12/10 Rick Welykochy <rick@praxis.com.au>:
Hi all,
We have a Koha/3.00.04_fixed installation in the French language. When we search for a word like "père" in the catalogue, the browser submits the accented e correctly and the search succeeds.
Then we attempt to import a biblio record using Z3950 into the catalogue that contains the word "père" we see the following error message:
The following fatal error has occurred:Wide character in null operation at /usr/local/share/perl/5.8.8/MARC/Charset/Table.pm line 96.
So, I cannot put this down to incorrect URF-8 character encoding in either the web server or the client's browser. Am I correct in suspecting that the character encoding goes amiss somehwere in the Z3950 communications gateway?
MARC records are sometimes encoded in marc8 not utf8, if this is the case for the record you are retrieving it can cause an issue like this. When setting up you z3950 server in Koha you can choose the encoding. Maybe try changing it to marc-8 and see if that fixes it Chris
Chris Cormack wrote:
MARC records are sometimes encoded in marc8 not utf8, if this is the case for the record you are retrieving it can cause an issue like this. When setting up you z3950 server in Koha you can choose the encoding. Maybe try changing it to marc-8 and see if that fixes it
That did the trick. Thanks heaps Chris. cheers rickw -- _________________________________ Rick Welykochy || Praxis Services C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, it blows away your whole leg. -- Bjarne "Stumpy" Stroustrup
participants (2)
-
Chris Cormack -
Rick Welykochy