Skip to Content.
Sympa Menu

freetds - Re: [freetds] iconv_t

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] iconv_t
  • Date: 11 Apr 2003 07:41:01 +0200

Il ven, 2003-04-11 alle 06:28, James K. Lowden ha scritto:
> 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.
>

Yes, iconv_t do not exists in win32.. Also Mac OS X have different
functions...

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

Perhaps different files for different implementations (iconv, win32, Mac
OS X, other) and #if HAVE_ICONV surrounding all the file ??

> 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.
>

freddy77





Archive powered by MHonArc 2.6.24.

Top of Page