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

Sebastien FLAESCH sf at 4js.com
Tue Jan 15 09:08:40 EST 2008


Thanks Frediano.

I think you update has a problem:

The "def" parameter is not removed from myGetPrivateProfileString()...

Does this compile without warnings on your machine???

I also wonder about your diff... looks like inversed?

...

Seb

ZIGLIO, Frediano, VF-IT wrote:
>> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds



More information about the FreeTDS mailing list