Skip to Content.
Sympa Menu

freetds - RE: [freetds] status and stability

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO Frediano" <Frediano.Ziglio AT mail.vodafone.it>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] status and stability
  • Date: Wed, 14 May 2003 18:32:15 +0200


> > > > If a system does not have UCS-2LE we should set a flag like
> > > > "convert UCS-2BE to UCS-2LE"... another suitable flag is pass
> > > > from UCS2
> > > > (if direct conversion is not supported convert first to ucs2
> > > > and then to destination...)
> > >
> > > tds_iconv_open() should set such a flag in the TDSICONVINFO
> > structure, and
> > > tds_iconv should honor it. That way, no other code has to
> > bother with it.
> > >
> >
> > MMmmm... a new idea.
> > Currently we convert first names to canonical, than we try
> to use this
> > name with iconv. So we fill alternative with all possible names!
>
> My thought exactly. You just have to be sure to guard
> OS-specific named
> with #if, to avoid conflicts. Remember, we need that table for
> Server->canonical->iconv lookups.
>

Hi James!

In this case I think code is better than any explanation. Update iconv.c and
look at new code...

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page