h***@code-styling.de
2013-06-23 11:03:32 UTC
I need to support MSSQL Server with proper Microsoft UNICODE usage (nvarchar
column etc.) from UCS2 to UTF8 and reverse,
cause MSSQL Server is the only one database engine, the is still not able to
store/retreive UTF8 (even if the actual server is 2012)!
My plan is to clone the ODBC backend and come up with a first version of a new
MSSQL interface.
Later on i would modifiy it to use the native client capabilities for better
performance.
This also will come up with conversation helper from UTF16 (UCS2) to UTF8 and
reverse.
But there is a global issue doing so. I need the extends the core with support
of
#define SQL_WCHAR (-8)
#define SQL_WVARCHAR (-9)
with a new core data_type
dt_wstring
and exchanged to
std::wstring.
Does somebody have had a problem doing so?
I'm comming from the Windows world so any objections in terms of Unix world are
welcome upfront.
Should the support additionally enrolled to any other backend too if the backend
is able to support such types using std::wstring?
regards
Heiko
column etc.) from UCS2 to UTF8 and reverse,
cause MSSQL Server is the only one database engine, the is still not able to
store/retreive UTF8 (even if the actual server is 2012)!
My plan is to clone the ODBC backend and come up with a first version of a new
MSSQL interface.
Later on i would modifiy it to use the native client capabilities for better
performance.
This also will come up with conversation helper from UTF16 (UCS2) to UTF8 and
reverse.
But there is a global issue doing so. I need the extends the core with support
of
#define SQL_WCHAR (-8)
#define SQL_WVARCHAR (-9)
with a new core data_type
dt_wstring
and exchanged to
std::wstring.
Does somebody have had a problem doing so?
I'm comming from the Windows world so any objections in terms of Unix world are
welcome upfront.
Should the support additionally enrolled to any other backend too if the backend
is able to support such types using std::wstring?
regards
Heiko