[freetds] Unicode: Need for a DSN parameter to define thecharset
sf at 4js.com
Tue Jan 15 11:10:35 EST 2008
Ok... I see.
Should we extend the tds_config_boolean() function to use strcasecmp() for
all possible string values (yes, no, true, false, on, off)?
For now it is only case insensitive for Yes and No...
James K. Lowden wrote:
> Sebastien FLAESCH wrote:
>> Is there any spec about values for ODBC boolean parameters?
>> = Can one set YES / YeS / No / nO ?
>> = Are true/false/0/1 allowed?
> AFAIK, yes. Interpretation of an odbc.ini file is up to the driver. It
> comes to us from the wonderful world of windows, where case is never a
> Also, case insensitivity and various forms of booleans are consistent with
> the rules for freetds.conf.
> In lieu of a spec, a maxim:
> "Be liberal in what you accept,
> and conservative in what you send."
> -- Jon Postel 
>  http://www.postel.org/postel.html
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
More information about the FreeTDS