X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzaptterm.c;h=1fb46dcb4b0bb2a9a6c88a33974ff0be518d0656;hb=66ec9aa407cf95f205d860d071960011f91be366;hp=d917976329d2ab76f37cd36cf34fd7aa6235f253;hpb=18e6d4befe9117cc44003fc9c1e62aac14d4e3bb;p=idzebra-moved-to-github.git diff --git a/index/zaptterm.c b/index/zaptterm.c index d917976..1fb46dc 100644 --- a/index/zaptterm.c +++ b/index/zaptterm.c @@ -1,8 +1,5 @@ -/* $Id: zaptterm.c,v 1.1 2006-09-21 08:39:14 adam Exp $ - Copyright (C) 1995-2006 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2009 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -57,6 +54,7 @@ ZEBRA_RES zapt_term_to_utf8(ZebraHandle zh, Z_AttributesPlusTerm *zapt, 0); return ZEBRA_FAIL; } + yaz_iconv(zh->iconv_to_utf8, 0, 0, &outbuf, &outleft); *outbuf = 0; } else @@ -84,7 +82,9 @@ ZEBRA_RES zapt_term_to_utf8(ZebraHandle zh, Z_AttributesPlusTerm *zapt, /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +