From: Adam Dickmeiss Date: Sun, 8 May 2005 22:53:59 +0000 (+0000) Subject: Bug fix: did not use outputCharset in the conversion of search term X-Git-Tag: YAZ.2.1.6~16 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=012d51aa722c887a9227a0c345c9663500486acc;p=yaz-moved-to-github.git Bug fix: did not use outputCharset in the conversion of search term --- diff --git a/client/client.c b/client/client.c index f7190a2..ade869e 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: client.c,v 1.278 2005-05-06 12:18:26 adam Exp $ + * $Id: client.c,v 1.279 2005-05-08 22:53:59 adam Exp $ */ #include @@ -1287,7 +1287,7 @@ static char *encode_SRW_term(ODR o, const char *q) yaz_iconv_t cd; char *res; if (outputCharset) - in_charset = in_charset; + in_charset = outputCharset; cd = yaz_iconv_open("UTF-8", in_charset); if (!cd) {