Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
ketu0001
Starting Member
11 Posts |
Posted - 2007-05-21 : 08:39:45
|
Hi All,I am getting problem in fetching data from SQL using C++ program.How to Fetch SQL Unicode characters?I am using ODBC driver calls in C++ to fetch SQL data.It is working fine with character data.But for Unicode data it displays “????” instead of data.Can anybody please help?RegardsKetaki |
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2007-05-21 : 08:41:38
|
displays where? you have to have proper codepage to display unicode chars.and they must also be stored in nvarchar, nchar or ntext datatype column._______________________________________________Causing trouble since 1980blog: http://weblogs.sqlteam.com/mladenp |
 |
|
ketu0001
Starting Member
11 Posts |
Posted - 2007-05-21 : 09:03:43
|
Thanks for help." ûôü " this is the data I am fetching from SQL using ODBC driver and C++ code.I am printing it on the screen, It prints "??? " instead of "ûôü".Regards Ketaki |
 |
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2007-05-21 : 09:54:26
|
well you have to print it with the correct localization setting.i don't know about c++ to be helpfull there..._______________________________________________Causing trouble since 1980blog: http://weblogs.sqlteam.com/mladenp |
 |
|
|
|
|