Towards 2.0.22.
[idzebra-moved-to-github.git] / index / zaptterm.c
index d917976..42a5912 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: zaptterm.c,v 1.1 2006-09-21 08:39:14 adam Exp $
-   Copyright (C) 1995-2006
+/* $Id: zaptterm.c,v 1.3 2007-03-20 22:07:35 adam Exp $
+   Copyright (C) 1995-2007
    Index Data ApS
 
 This file is part of the Zebra server.
@@ -57,6 +57,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