Created ctdl_iconv_open() wrapper around iconv_open()
[citadel.git] / webcit / html2html.c
index 1f2d358c93b75987e4aa06d49136621fa0af2227..05bc77a935f1ae189f98f7a1cce0037a6755bf14 100644 (file)
@@ -216,7 +216,7 @@ void output_html(char *supplied_charset, int treat_as_wiki) {
           && (strcasecmp(charset, ""))
        ) {
                lprintf(9, "Converting %s to UTF-8\n", charset);
-               ic = iconv_open("UTF-8", charset);
+               ic = ctdl_iconv_open("UTF-8", charset);
                if (ic == (iconv_t)(-1) ) {
                        lprintf(5, "%s:%d iconv_open() failed: %s\n",
                                __FILE__, __LINE__, strerror(errno));