koha-zebra
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-zebra] Re: Unimarc, marc21, Unicode, and MARC::File::XML


From: Adam Dickmeiss
Subject: Re: [Koha-zebra] Re: Unimarc, marc21, Unicode, and MARC::File::XML
Date: Tue, 21 Mar 2006 19:59:45 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; da-DK; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1

Tümer Garip wrote:
Hi,

This problem if I understood it correctly has got nothing to do with
mysql or perl it has to do with ZEBRA unless it is to do with UNIMARC
which I am not familiar with.
As you know (Paul) I have an utf-8 version working.

I had the same problem from records coming from zebra and found out that
it is not doing what it is supposed to do unless you explicitly set it
to utf-8. You have to explicitly put "encoding utf-8" in all your zebra
config files especially the zebra.cfg and your .abs . Otherwise unlike
the documentation saying that zebra character code is automatically set
by the xml encoding it DOES NOT.
I can't reproduce this (bug). Care to share a a config+example that illustrates this (Inserts an XML record from Perl in UTF-8) ?

Perl send xml to zebra with encoding utf-8 on the header and utf-8 data
in it. Zebra saves all the data in utf-8 but returns an xml saying
encoding iso8859-1 at the header and utf-8 characters in data. No module
can correct this as it is stupid.
Just need to know when the stupidity starts:-)

/ Adam

I corrected the problem by adding encoding:UTF-8 in zebra.cfg,
record.abs, sort-string.chr

Hope it solves yours,

Tumer



_______________________________________________
Koha-zebra mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/koha-zebra






reply via email to

[Prev in Thread] Current Thread [Next in Thread]