[freetds] select bug...

Frediano Ziglio freddyz77 at tin.it
Tue May 13 16:11:12 EDT 2003


Il mar, 2003-05-13 alle 18:59, Lowden, James K ha scritto:
> > > Starting log file for FreeTDS 0.62.dev.20030513
> > >         on 2003-05-13 11:02:26 with debug level 99.
> > > iconv to convert client-side data to the "ISO-8859-7" character set
> > > 11:02:26.244776 tds_iconv_info_init: client charset name 
> > > "ISO-8859-7" unrecognized
> > > 11:02:26.244806 Connecting to 192.168.2.253 port 1433, TDS 7.0.
> > > 11:02:26.245102 tds_put_string converting 19 bytes of
> > > "atlas.ace-hellas.gr"
> > > 11:02:26.245121 tds_put_string converting 19 bytes of
> > > "atlas.ace-hellas.gr"
> > 
> > I fixed problem in CVS. ISO-8859-7 wasn't in our tables...
> 
> But they were!  
> 
> $ grep -n 8859-7  alternative_character_sets.h
> 168:    , {         "ECMA-118", "ISO-8859-7"             }
> 170:    , {         "ECMA-118", "ISO_8859-7"             }
> 171:    , {         "ECMA-118", "ISO_8859-7:1987"        }
> 179:    , {       "ISO-8859-7", "ISO-8859-7"             }  // your addition
> 
> Argh!!  If Spyros had used the (badly chosen) canonical name -- ECMA-118 --
> it would have Just Worked.  The boneheaded mistake is that
> tds_iconv_info_init() doesn't call tds_canonical_charset_name() before
> attempting to look up the character width.  Sorry to have misled you,
> Spyros!  
> 
> s/does/did/g.  I just committed a fix, and rolled back your .h updates.  No
> offense, I hope!  
> 

What fool of me !!!
I searched but I didn't find... Well... at the end I'm only a human :)

freddy77





More information about the FreeTDS mailing list