freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: jack brack <jack.brack AT inbox.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Charset question
- Date: Wed, 12 Apr 2006 03:32:28 -0800
> -----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
> http://freetds.org/userguide/freetdsconf.htm
> ...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:
> http://freetds.org/userguide/locales.htm
>
> --
> fds
Hello,
I looked a the locales.conf in cvs, and created the following locales.conf
file:
[default]
language = english
char set = iso_1
It didn't work.
Next I set some environment variables:
export LANG=en_US
export LANGUAGE=en_US
and tried again. It didn't work.
So then I tried unsetting them:
unset LANG
unset LANGUAGE
But now tds is trying to use "ANSI_X3.4-1968" to connect to the server (!)
Any ideas please?
Jack
____________________________________________________________
Free Email Notifier - Receive notifications & previews of incoming emails!
Visit http://www.inbox.com/notifier and check it out!
-
[freetds] Charset question,
jack brack, 04/12/2006
-
Re: [freetds] Charset question,
Daniel Fazekas, 04/12/2006
- Re: [freetds] Charset question, jack brack, 04/12/2006
- Re: [freetds] Charset question, jack brack, 04/12/2006
- <Possible follow-up(s)>
-
Re: [freetds] Charset question,
Lowden, James K, 04/12/2006
- Re: [freetds] Charset question, jack brack, 04/12/2006
-
Re: [freetds] Charset question,
Lowden, James K, 04/12/2006
-
Re: [freetds] Charset question,
Frediano Ziglio, 04/12/2006
-
Re: [freetds] Charset question,
James K. Lowden, 04/12/2006
- Re: [freetds] Charset question, Frediano Ziglio, 04/13/2006
-
Re: [freetds] Charset question,
jack brack, 04/13/2006
- Re: [freetds] Charset question, Frediano Ziglio, 04/13/2006
-
Re: [freetds] Charset question,
James K. Lowden, 04/12/2006
-
Re: [freetds] Charset question,
jack brack, 04/13/2006
- Re: [freetds] Charset question, Daniel Fazekas, 04/13/2006
-
Re: [freetds] Charset question,
Frediano Ziglio, 04/12/2006
-
Re: [freetds] Charset question,
Daniel Fazekas, 04/12/2006
Archive powered by MHonArc 2.6.24.