[freetds] Charset question

jack brack jack.brack at inbox.com
Wed Apr 12 06:35:31 EDT 2006


>> 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.

Ah! That explains why "client charset" didn't seem to be doing anything useful :)

> So maybe locales.conf is what you should be looking at:
> http://freetds.org/userguide/locales.htm

Excellent. The documentation is missing an example, I don't suppose you have one?

> 
> --
> fds



More information about the FreeTDS mailing list