Re: SQL Server version and TDS Version

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Vinh Nguyen wrote:
> 
> Sure, here is a TDSDUMP when I specify TDS version 8:
> 
> log.c:190:Starting log file for FreeTDS 0.82
>         on 2010-04-18 12:42:52 with debug flags 0x4fff.
> iconv.c:197:names for ISO-8859-1: ISO-8859-1
> iconv.c:197:names for UTF-8: UTF-8
> iconv.c:197:names for UCS-2LE: UCS-2LE
> iconv.c:197:names for UCS-2BE: UCS-2BE
> iconv.c:363:iconv to convert client-side data to the "utf-8" character
> set iconv.c:432:tds_iconv_info_init: client charset name "" unrecognized

That doesn't look good.  Are you using OS X's iconv(3)?  It looks like it
wants the name in  upper case.  (Cf. line 197.) 

I think FreeTDS doesn't know the encoding, decides it's "probably" ISO
8859-1 (wrongly) and mis-encodes something in your login packet, causing
the server to reject it.  

--jkl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.