Re: unicode support (chinese)
"James K. Lowden" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
Van Shuka wrote: > > However binding this parameter with: > > sqlError = SQLBindParameter(sqlStmt, 1, SQL_PARAM_INPUT, > SQL_C_WCHAR, SQL_WVARCHAR, 50, 0, > &chineseChar, sizeof(chineseChar), &chineseCharInd); > > I'm getting the error state=HY004, [FreeTDS][SQL Server]Invalid data > type Binding to UCS-2 encoding is not supported. As of now, you should use UTF-8. HTH. --jkl