[freetds] iconv_t

James K. Lowden jklowden at schemamania.org
Fri Apr 11 00:28:36 EDT 2003


One more item. 

#if HAVE_ICONV
	iconv_info->to_wire = (iconv_t) -1;
	iconv_info->from_wire = (iconv_t) -1;
#endif

Is the problem that iconv_t is not defined in Win32?  If so, let's handle
that in config.h.  

I am trying to get rid of #if HAVE_ICONV, and make the code flow straight
through. 

Also, we need these initialized, to decide whether or not to call iconv,
cf iconv.c:171.  There are times we'll have iconv linked in, but for a
particular server, connection, or charset we won't want to (or won't be
able to) use iconv.  

--jkl



More information about the FreeTDS mailing list