[freetds] Connection probleme from HP-UX with BIG-5 Charset
Geoffrey KRETZ
gk at 4js.com
Fri Feb 13 10:32:54 EST 2009
Hi,
I'm new to this mailing list and i'm trying to use FreeTDS (0.83) on a
HP-UX machine :
-bash-3.00$ uname -a
HP-UX lima B.11.11 U 9000/800 2286771896
I get the following error when trying to connect to a SQL Server
database with "client charset" set to big in .conf file :
-bash-3.00$ tsql -S seville -U f4gl -P g3n3ro4j
locale is "zh_TW.big5 zh_TW.big5 zh_TW.big5 zh_TW.big5 zh_TW.big5
zh_TW.big5"
locale charset is "big5"
Msg 20017, Level 9, State -1, Server OpenClient, Line -1
Unexpected EOF from the server
Msg 20002, Level 9, State -1, Server OpenClient, Line -1
Adaptive Server connection failed
There was a problem connecting to the server
For info, I got the following entries in my freetds.conf file :
[seville]
host = seville
port = 1433
tds version = 8.0
client charset = big5
And on my terminal, I set LC_ALL to zh_HK.big5.
If I use UTF-8 instead of big5, I have not problem to connect.
I've tried different syntax for big5 (BIG5, BIG-5, ...) without success.
And iconv is working :
iconv -f big5 -t UTF-8 file : convert with success the file
Have I done something wrong ?
Best regards and TIA,
Geoffrey
More information about the FreeTDS
mailing list