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

Sebastien FLAESCH sf at 4js.com
Tue Jan 15 10:15:31 EST 2008


New version of the patch with Frediano's suggestions.

Not quite sure about the strcasecmp() in src/tds/config.c...

Is there any spec about values for ODBC boolean parameters?
= Can one set YES / YeS / No / nO ?
= Are true/false/0/1 allowed?

Seb

Sebastien FLAESCH wrote:
> No problem...
> 
> I adapt my patch with your suggestion and send a new diff.
> 
> Seb
> 
> ZIGLIO, Frediano, VF-IT wrote:
>>> 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
>>>
>> Ehmm... no I didn't compile it, consider it as a suggestion....
>>
>> freddy77
>> _______________________________________________
>> FreeTDS mailing list
>> FreeTDS at lists.ibiblio.org
>> http://lists.ibiblio.org/mailman/listinfo/freetds
>>
> 
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: odbc-parameters.diff
Type: text/x-patch
Size: 24752 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20080115/f0c98eb0/attachment-0001.bin 


More information about the FreeTDS mailing list