[freetds] How to get UTF-8 back in application
Daniel Fazekas
fdsubs at t-online.hu
Tue Jul 19 09:35:56 EDT 2005
On Jul 19, 2005, at 11:26, bohica at ntlworld.com wrote:
> 1. unixODBC's isql with DSN in unixODBC's system odbc.ini
> DSN:
> [msfreetds]
> driver = freetds
> Description = freetds test
> Server = myserver
> Database = test
> Port = 1433
> TDS_Version = 7.0
> client charset = UTF-8
> "client charset = UTF-8" in DSN - does not seem to be read by
> freetds
What you are looking for is the ODBC-combined setup:
http://www.freetds.org/userguide/odbcombo.htm
Basically, you have to remove Server= from your odbc.ini and instead
add Servername=, setting the latter to a freetds.conf entry's name as
opposed to a host name.
Then your freetds.conf file will be read.
--
fds
More information about the FreeTDS
mailing list