Added test for utf-8 decode reset
[yaz-moved-to-github.git] / 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);
     }
 #endif
         YAZ_CHECK(strcmp("\033p0\x1bs", outbuf0) == 0);
     }
+    yaz_iconv(cd, 0, 0, 0, 0);
     yaz_iconv_close(cd);
 }
 
     yaz_iconv_close(cd);
 }