Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Mata <michaelvmata AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Force use of UTF-8 instead of ISO8859-1
  • Date: Thu, 28 Jan 2010 11:30:24 -0800

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?




Archive powered by MHonArc 2.6.24.

Top of Page