[freetds] Status of UTF-8 support in 0.83 dev

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Tue Sep 9 05:40:03 EDT 2008

> Frediano,
> I am not sure to get what you mean by:
>  > I think that column size == count in bytes is required cause:
> Do you mean the ColumnSize parameter of SQLBindColumn() 
> should be provided as a number of bytes instead of characters?
> I am not sure this is a good idea, as it is used to define 
> the SQL type (NVARCHAR(ColumnSize)) ...
> I mean, SQL Native Client expect a number of characters, not bytes.

no, no, I mean column_size in TDSCOLUM structure !

> FYI: Not sure this helps:
> If you want to known the maximum number of bytes a multi-byte 
> character can use in the current locale,
> you have the standard MB_CUR_MAX macro... (man MB_CUR_MAX).
> Thanks for your great help.
> Seb

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3129 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20080909/31b9ddca/attachment.bin 

More information about the FreeTDS mailing list