Click here to Skip to main content
15,909,530 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I want to store data in hindi font.... I changed the text font in hindi but its not working...
Posted
Comments
StianSandberg 25-Apr-13 2:31am    
what do you mean by "hindi font" and "text font"? Maybe you should take a look at MSDN - SQL Server Collation Fundamentals

there are several way..atleast first search it it asked before already on codeproject..
(how to store hindi data in sql server 2005[^])

1) you have to choose datatype nvarchar and use unicode to store hindi data (the good soution) because unicode supported by all machines which have not hindi font as mobile , tablet, many more...
 
Share this answer
 
v3
Comments
Archana K 25-Apr-13 2:54am    
unicode ??
Hemant Singh Rautela 25-Apr-13 3:01am    
yes unicode-utf8 as google use in its translator .. you can use google jquery service(web) for insert unicode -hindi for input in textbox.

eg.-code for unicode input box(text box)--https://code.google.com/p/google-ajax-apis/issues/attachmentText?id=140&aid=2824232024987438309&name=test.html&token=64ecb86955da4ede1465159f434626e2
Archana K 25-Apr-13 3:13am    
Thanx :)
If your concept of "font" is something from the pre-unicode-era, you should get rid of it quickly!
Before Unicode, there were official code pages for many alphabets. And for some alphabets, those code pages did not exist officially, they were just "emulated" by a font. I.e. the text was stored as ASCII, but the font displayed some foreign characters instead of ASCII characters, similar to the Wingdings font during that era. With Unicode available nowadays, use Unicode. And in SQL server, use the nchar or nvarchar data type.
 
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