Click here to Skip to main content
15,889,732 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have a problem to access hindi font in my textbox in hindi font only. i give you the details...
I have a software it's name "Microsoft Indic language Input Tool" which has converting all fonds in hindi or english. so by it's use i insert value in hindi font in my table. but when i access that value then it will get coded value but not in hindi font. i was try to convert the font by not getting the hindi font that the software used.
Posted

1 solution

I don’t know how you are inserting the Hindi font in the database. Ideally you should insert in such a way that Unicode characters (anything other than English alphabets) get inserted properly.

In order to insert Unicode characters Datatype should be nvarchar and while inserting prefix N in the SQL as follows:
INSERT INTO tForeignLanguage ([Name]) VALUES (N'foreign Language string here')

Try after making above change, hopefully it will work fine after that.

Hope this will help you.

~Amol
 
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