Created ctdl_iconv_open() wrapper around iconv_open()
[citadel.git] / webcit / rss.c
index 937fcbff57bdbce48cc5434469c1add642c3091e..6a962559a27b9b6f95ead77cc68ac6dd9096f76b 100644 (file)
@@ -246,7 +246,7 @@ void display_rss(char *roomname, char *request_method)
                /** Set up a character set conversion if we need to */
 #ifdef HAVE_ICONV
                if (strcasecmp(charset, "us-ascii") && strcasecmp(charset, "utf-8") && strcasecmp(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));