Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I m creating a website for learn designing purpose. i wants to add hindi content on my website how can i add hindi content while i m creating in html.
if i do copy paste hindi content then it shows block on place of hindi font.Plzz help me..!!


Thnxx..!!
Posted

There is no such thing as "Hindi font" (even if some font is called "Hindi"). Fonts are usually implement several writing systems or scripts in one font, but Hindi is not even a writing system. Modern Hindi uses Devanāgarī, as well as many other languages. Will you tell me, why I can write in Devanāgarī, without installing anything and not understanding the languages, but you cannot?

No, if you paste Devanāgarī text in nearly any modern text editor in nearly any modern platform, it will show Devanāgarī. To screw up this, one needs to try hard. :-) To make is all working, you would need to save the text as UTF-8 (what else, after all?) and HTML <head>should include HTTP-EQUIV with appropriate context-type:
HTML
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


That's all.

—SA
 
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