[freetds] Charset question
jack.brack at inbox.com
Wed Apr 12 07:32:28 EDT 2006
> -----Original Message-----
> From: fdsubs at t-online.hu
> Sent: Wed, 12 Apr 2006 12:18:01 +0200
> To: freetds at lists.ibiblio.org
> Subject: Re: [freetds] Charset question
> On Apr 12, 2006, at 11:27, jack brack wrote:
>> For this php code:
>> sybase_connect($user, $pass, $serv, "iso_1")
>> Why does CT try to connect as UTF-8?
>> It does the same for this one too:
> FreeTDS ignores that parameter.
> I was about to tell you to set the client charset in freetds.conf
> instead, however, looking at the documentation at
> ...it seems to imply that the client charset option is only used for
> MS SQL servers.
> So maybe locales.conf is what you should be looking at:
I looked a the locales.conf in cvs, and created the following locales.conf file:
language = english
char set = iso_1
It didn't work.
Next I set some environment variables:
and tried again. It didn't work.
So then I tried unsetting them:
But now tds is trying to use "ANSI_X3.4-1968" to connect to the server (!)
Any ideas please?
Free Email Notifier - Receive notifications & previews of incoming emails!
Visit http://www.inbox.com/notifier and check it out!
More information about the FreeTDS