Re: Status of UTF-8 support in 0.83 dev
"ZIGLIO, Frediano, VF-IT" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
> > 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 > freddy77 _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds
smime.p7s
(application/x-pkcs7-signature, 3.1 KB) - not displayed