Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
I want to store data in hindi font.... I changed the text font in hindi but its not working...
Posted 24-Apr-13 21:27pm
Comments
AlluvialDeposit at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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...
  Permalink  
v3
Comments
Archana hosurkar at 25-Apr-13 2:54am
   
unicode ??
hemantrautela at 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 hosurkar at 25-Apr-13 3:13am
   
Thanx :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  

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



Advertise | Privacy | Mobile
Web04 | 2.8.1411022.1 | Last Updated 25 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100