Skip to Content.
Sympa Menu

freetds - Re: [freetds] How to get UTF-8 back in application

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Daniel Fazekas <fdsubs AT t-online.hu>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] How to get UTF-8 back in application
  • Date: Tue, 19 Jul 2005 15:35:56 +0200


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




Archive powered by MHonArc 2.6.24.

Top of Page