- yaz_iconv_close (t_unicode);
- t_unicode = yaz_iconv_open (ucs4_native, argv[1]);
-#endif
- /*
- * Fix me. It is additional staff for conversion of characters from local encoding
- * of *.chr file to UTF-8 (internal encoding).
- * NOTE: The derective encoding must be first directive in *.chr file.
- */
- /* For whatever reason Oleg enabled this.. */
-#if 0
- if (t_utf8 != 0)
- yaz_iconv_close(t_utf8);
- t_utf8 = yaz_iconv_open ("UTF-8", argv[1]);
-#endif
+ yaz_iconv_close(t_unicode);
+ t_unicode = yaz_iconv_open(ucs4_native, argv[1]);