Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need to retrieve unicode data from sql-server in my C# application Output it on label.... How to select unicode data from a sql table.??
Right now i'm using (select * from kannada table) but it is resulting as (??? ????? ??? ????? ????)
Posted
Comments
Zoltán Zörgő 7-Feb-13 2:59am    
1) how exactly do you retrieve?
2) what is the table column type you are storing the unicode data in?
Sharath2790 7-Feb-13 3:01am    
column type is nvarchar(50)...
I'm using select statement retrieve the data....
Zoltán Zörgő 7-Feb-13 3:34am    
1) i have assumed that you are using select statement, but what is the c# code?
2) ok
3) do you see proper coding when you select from the table in Management Studio?
Sergey Alexandrovich Kryukov 7-Feb-13 9:25am    
We need a clear, complete but short code sample, don't we?
I should not be a problem, but as the problem exists, who know what have been screwed up?
—SA
Michiel du Toit 8-Feb-13 3:23am    
Also, what font are you using on the label, does it support unicode?

1 solution

1 - Are you using a font which has all Kannada glyphs?

2 - Are you on a system which has proper Unicode rendering engine? If you are on Windows7 or higher, everything should work well. Earlier versions may need support for complex scripts to be installed.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900