Skip to Content.
Sympa Menu

freetds - Re: [freetds] Unicode: Need for a DSN parameter to define thecharset

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Unicode: Need for a DSN parameter to define thecharset
  • Date: Tue, 15 Jan 2008 14:38:59 +0100

>
> Attached a first diff from the HEAD branch to support new
> ODBC DSN parameters:
>
> Instance
> ClientCharset
> DumpFile
> DumpFileAppend
> DebugFlags
> Encryption
>
> So far I have only tested "DumpFile" and "ClientCharset"...
>
> Did not ran ODBC regression tests either (I guess I first
> need to setup and enviroment for that).
>
> Sorry if it's not perfect work, but I spent 5 minutes here
> and there to make this patch.
>
> Please adapt/review/fix as needed...
>
> Thanks a lot for taking my request into consideration.
> Seb
>

Seems fine. I wrote a small update. See attachement. I just used some
more tds_parse_conf_section option and removed a parameter from
myGetPrivateProfileString. In tds_config_boolean I used strcasecmp
instead of two strcmp.

freddy77

Attachment: vedi.diff.gz
Description: vedi.diff.gz




Archive powered by MHonArc 2.6.24.

Top of Page