iconv_t ctdl_iconv_open(const char *tocode, const char *fromcode)
{
iconv_t ic = (iconv_t)(-1) ;
iconv_t ctdl_iconv_open(const char *tocode, const char *fromcode)
{
iconv_t ic = (iconv_t)(-1) ;
get_preference("default_header_charset", &default_header_charset);
if ( (strcasecmp(ChrPtr(default_header_charset), "UTF-8")) &&
(strcasecmp(ChrPtr(default_header_charset), "us-ascii")) ) {
get_preference("default_header_charset", &default_header_charset);
if ( (strcasecmp(ChrPtr(default_header_charset), "UTF-8")) &&
(strcasecmp(ChrPtr(default_header_charset), "us-ascii")) ) {