Click here to Skip to main content
15,921,622 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to get chinese or japanese text in C# ado.net
Posted
Comments
ZurdoDev 26-Mar-15 9:42am    
By typing it. Where are you stuck?
Brahmaiah Kurapati 26-Mar-15 9:45am    
from db i am getting weired characters at the reader reding
Sergey Alexandrovich Kryukov 26-Mar-15 9:51am    
You screwed it up somewhere. Please fix your bugs.
Make sure you use Unicode data types in your database.
—SA

1 solution

Please see my comment to the question. You need to use Unicode data types in your database, such as nchar, nvarchar, ntext:
https://technet.microsoft.com/en-us/library/ms191200%28v=sql.105%29.aspx.

Unfortunately, different database servers which can be used with ADO.NET can provide Unicode support in different ways. You need to consult the documentation on a particular server.

—SA
 
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