Click here to Skip to main content
11,933,253 members (63,311 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB 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
AlluvialDeposit 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
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...
Archana hosurkar 25-Apr-13 2:54am
unicode ??
hemantrautela 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)--
Archana hosurkar 25-Apr-13 3:13am
Thanx :)
Rate this: bad
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151126.1 | Last Updated 25 Apr 2013
Copyright © CodeProject, 1999-2015
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