Hello DPers, I have been searching in google since morning, and coudlnt get any fix. My question is how to display foreign language, more specifically malayalam in a html webpage? I have tried adding lang="ml", but it gave no result. Now if i paste malayalam from ml.wikipedia.org many symbols are displayed in firefox, but it works perfectly in Opera. Thanks
Whilst googling I found these that may help you out with your problem http://www.w3.org/International/questions/qa-international-multilingual http://www.alanwood.net/unicode/htmlunicode.html
I order to put in any language (other than English) you have choose the character type. You define this in the header of your document. In this case, Chinese: <head> <meta http-equiv="Content-Type" content="text/html; charset=gb18030" /> <title>Untitled Document</title> </head> When declaring a character type, only people that have an internet font of that character type can see it. If your visitors do not have Malayalam installed, they won't see anything but strange characters. If you want the font to be visible to EVERYONE regardless of if they have the font or not, you'll need to use UNICODE. Unicode is a number that is assigned to each character, and frankly is a royal pain to write by hand. You'll need a program that can do it for you. You can try: http://www.malayalamunicode.com/ When using Unicode you'll have to clare unicode as your character type: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> Good luck