I am trying to show some hindi data @ my website, its working fine with firefox and Chrome.
Please let me know how it can be solved…
This is what I am doing:
font-family:"Kruti Dev 010";
Please see the page here:
Please see it in I.E.
You could try to set your charset to utf-8
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
yeah, donboe has it right, you can’t do hindi characters in iso-8859-1…
Like was mentioned if the language you are using is Hindi you’ll probably need UTF-8 or even possibly UTF-16 encoding. It may help if you add the language code; lang=“hi” too. You still have not changed the value yet.
Thanks for all appreciable replies.
I’ve tried and applied all suggestion at the page…please review it as it does not seems fine.
just SAYING UTF-16 in the code and/or mime-type doesn’t make it UTF-16… are you saying UTF-16 when you save it in your editor?
According to this:
You are not. It almost looks like your editor is saving win-1252…
Perhaps these may help you: http://www.w3.org/International/questions/qa-what-is-encoding http://www.w3.org/International/questions/qa-html-encoding-declarations
Like we’ve mentioned as you are directly inputting the text you need to save as either UTF-8 or UTF-16 and make sure the server is actually sending the document as such.
Doesn’t UTF-16 force a BOM?
Why not stick to UTF-8?
Also a good point there SP – The byte order mark can cause all sorts of problems which is why UTF-16 is typically a bad choice…
That and the larger byte size for characters that can make the filesize larger than need be as well.
Thanks for the replies, I’ll make the changes and will let you know soon about it.
You usually should be using a BOM if you ever use UTF-16 because it is not byte oriented. Hindi is extremely complex as with Chinese and Japanese you probably can get away with UTF-8 to store the characters but in some instances UTF-16 would be better. Personally I’d try UTF-8.
Maybe UTF-8 for the actual HTML pages (so browsers don’t puke) but UTF-16 for any associated documents (PDFs or whatever).
I’m sure Wikipedia etc use a simple Hindi with UTF-8 that is generally understandable. I’ve seen both simple and complex Chinese wholly in UTF-8. For safety I’d think of trying to stay with UTF-8 if possible.