Łukasz Wilke wrote:
>> The latest CVS version of v1.2 (EMILDA_1_2_BRANCH) supports charset
>> conversion on the fly.
>
> I'm using debian package, emilda-1.2.3-3, I've forgot to tell.
>
>> You can enable it by opening up lib/MARC.inc in your favorite editor and
>> changing the array on line 84 ($RDB_ENCODINGS). The conversions found
>> there by default change the encoding from utf-8 to iso-8859-15. You can
>> use them as templates/examples for your Z39.50 host.
>
> OK, I don't see such line in my version of MARC.inc, I'll checkout CVS.
> I see that a lot have changed. I don't know how but I missed whole
> PHP-MARC thing. I think I have to do some reading :)
>
> Thanks a lot,
>
> Lukasz Wilke
PHP-MARC & co. is used in Emilda 1.3. That is unstable code and should
not be run on production systems yet unless you know what you're doing ;)
If you checkout CVS, use the EMILDA_1_2_BRANCH to get the latest
_stable_ version. You can do that by adding -r EMILDA_1_2_BRANCH to the
cvs checkout command. The debian package differs in many places from the
source distribution. You may want to just patch the required files of
your debian installation instead of checking out the whole thing.
Download the patch from:
http://people.realnode.com/~mnordstr/emilda/emilda-encodings.patch
and save it in your /usr/share/emilda directory. Enter that directory
and type:
patch -p1 < emilda-encodings.patch
That should update your debian package to support encodings. Remember to
update the lib/MARC.inc file with your Z39.50 info.
--
Mattias Nordstrom
CTO
Realnode Oy
nordstrom@xxxxxxxxxxxx
www.realnode.com
|