Skip to Content.
Sympa Menu

freetds - RE: [freetds] iconv problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO Frediano" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] iconv problem
  • Date: Wed, 23 Jul 2003 17:34:48 +0200

....
> >
> > tds_put_string should manage string in chunk but it return
> after first
> > tds_iconv (cause it return -1) and return 0 as bytes_out...
> On E2BIG
> > error tds_iconv add a message to client but doing chunk conversion
> > this is not the right behavior...
>
> I'll fix this. Error is calling tds_iconv with unaltered
> "len"; the passed parameter should be:
>
> sizeof(outbuf) * client->min_bytes_per_char
> /
> server->max_bytes_per_char;
>

IMHO len and outbytesleft are correct...

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page