Click here to Skip to main content
15,893,594 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i wish to develop a temple software . in this project i want malayalam fonts .how i can set the malayalam font in asp.net C# windows application . and this data how to store in sql server 2008 r2

What I have tried:

i wish to develop a temple software . in this project i want malayalam fonts .how i can set the malayalam font in asp.net C# windows application . and this data how to store in sql server 2008 r2 
Posted
Updated 11-Feb-18 22:40pm

By using unicode instead of an 8bit ISCI encoding.
The SQL server will cope with that when you use nvarchar instead of varchar for text fields.
 
Share this answer
 
In your Program.Main() put this:
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.CreateSpecificCulture("en-GB");
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.CreateSpecificCulture("en-GB");
 
Share this answer
 
v2
"how i can set the malayalam font in asp.net C# windows application"
asp.net malayalam font[^] yields several related results.

"and this data how to store in sql server 2008 r2"
Technically, you do not store the font in the database, you only store the text, whatever it is, using nvarchar datatype as suggested in solution 2.
 
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