<div dir="ltr"><div dir="ltr">On Thu, Apr 2, 2020 at 9:55 AM Nuno Silva <<a href="mailto:nunojsilva@ist.utl.pt">nunojsilva@ist.utl.pt</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
Some Z39.50 servers available around here seem to use different<br>
encodings for search queries and marc entries.<br>
<br>
For example, <a href="http://catalogo.bnportugal.pt" rel="noreferrer" target="_blank">catalogo.bnportugal.pt</a> which accepts latin1 for search<br>
queries but uses ISO-5426 for database entries. In yaz-client, I am able<br>
to interact with this server by explicitly setting these character<br>
encodings:<br>
<br>
    marccharset iso5426<br>
    querycharset latin1<br>
    open <a href="http://catalogo.bnportugal.pt" rel="noreferrer" target="_blank">catalogo.bnportugal.pt</a><br>
<br>
<br>
But in Tellico there is only one "character set" option, so either<br>
non-ASCII searches don't work or non-ASCII content in the results is<br>
garbled. Looking at the code (If I am looking in the right place -<br>
z3950connection.cpp?), it seems it's not possible to set separate<br>
encodings for incoming and outgoing data (m_sourceCharSet is used for<br>
both?).<br>
<br>
Would it be possible to allow the use of different encodings in a<br>
situation like this?<br></blockquote><div><br></div><div>Interesting, thanks for that information. Shouldn't be too hard to implement. I'll take a shot at it.</div><div><a href="https://bugs.kde.org/show_bug.cgi?id=419670">https://bugs.kde.org/show_bug.cgi?id=419670</a><br></div><div><br></div><div>Robby </div></div></div>