Z39.50: different query and marc charsets

Robby Stephenson robby at periapsis.org
Sun Apr 5 12:58:12 BST 2020


On Thu, Apr 2, 2020 at 9:55 AM Nuno Silva <nunojsilva at ist.utl.pt> wrote:

> Hello,
>
> Some Z39.50 servers available around here seem to use different
> encodings for search queries and marc entries.
>
> For example, catalogo.bnportugal.pt which accepts latin1 for search
> queries but uses ISO-5426 for database entries. In yaz-client, I am able
> to interact with this server by explicitly setting these character
> encodings:
>
>     marccharset iso5426
>     querycharset latin1
>     open catalogo.bnportugal.pt
>
>
> But in Tellico there is only one "character set" option, so either
> non-ASCII searches don't work or non-ASCII content in the results is
> garbled. Looking at the code (If I am looking in the right place -
> z3950connection.cpp?), it seems it's not possible to set separate
> encodings for incoming and outgoing data (m_sourceCharSet is used for
> both?).
>
> Would it be possible to allow the use of different encodings in a
> situation like this?
>

Interesting, thanks for that information. Shouldn't be too hard to
implement. I'll take a shot at it.
https://bugs.kde.org/show_bug.cgi?id=419670

Robby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20200405/5d2a3413/attachment.html>


More information about the tellico-users mailing list