Added test for utf-8 decode reset
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 12 Jun 2008 09:13:08 +0000 (11:13 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 12 Jun 2008 09:13:08 +0000 (11:13 +0200)
test/tsticonv.c

index 200c5b9..20424d6 100644 (file)
@@ -600,6 +600,7 @@ static void tst_utf8_to_marc8(const char *marc8_type)
 #endif
         YAZ_CHECK(strcmp("\033p0\x1bs", outbuf0) == 0);
     }
+    yaz_iconv(cd, 0, 0, 0, 0);
     yaz_iconv_close(cd);
 }