From 012d51aa722c887a9227a0c345c9663500486acc Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 8 May 2005 22:53:59 +0000 Subject: [PATCH] Bug fix: did not use outputCharset in the conversion of search term --- client/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 1.7.10.4