[freetds] Force use of UTF-8 instead of ISO8859-1

Michael Mata michaelvmata at gmail.com
Thu Jan 28 14:30:24 EST 2010

On Wed, Jan 27, 2010 at 11:14 PM, Michael Mata <michaelvmata at gmail.com>wrote:

> I pass the server name, port, user name, password in the connection
> string.  My odbc.in only has the following linesi:
> [SQL Native Client]
> Description = SQL Native Client
> Driver = /usr/local/lib/libtdsodbc.so
> Setup = /usr/local/lib/libtdsS.so
> UsageCount = 1
> FileUsage = 1

I was mistaken.  I'm passing the SERVER, not SERVERNAME, in the connection
string.  According to the docs (http://www.freetds.org/userguide/dsnless.htm),
this should be a DSN-less configuration that does not use freetds.conf.  Is
there a way to set the client charset using this configuration?

More information about the FreeTDS mailing list