Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to write hindi in textbox control in asp.net.
for reference open shabdkosh.com. i want when user type then word type in hindi offline. 
Posted
Comments
Sinisa Hajnal 31-Dec-15 2:40am    
Set page culture to hindi.

1 solution

Just write in Hindi. Modern Hindi uses Devanāgarī writing system, which is popular enough to be supported on nearly all modern platforms: Devanagari - Wikipedia, the free encyclopedia[^].

.NET is based on Unicode entirely, so you don't need to worry about it, but HTML needs proper "content-type" encoding, which you should be defined in the head element:
HTML
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

And of course, all files with Unicode text should be saved as UTF-8. It's possible but makes no sense to use any other Unicode UTF; UTF-8 is standard de-facto for Web.

Note that this HTTP-EQUIV declaration is important even if the HTTP browser is set up for using this encoding by default. Imagine what happens is someone saves an HTML file on the client side; without this HTTP-EQUIV, encoding information will be lost.

—SA
 
Share this answer
 
v2

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