Wednesday, July 04, 2007

Problem with displaying devnagari characters in Firefox on Mac.

This post is to demonstrate the problem with Firefox (Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4) on Mac OS X (10.4.10).

I have a simple HTML page with my name using the UTF-8 character encoding. This name is expressed in the Devanagari Script. This is how Firefox displays this on my Mac.






The same HTML page is displayed as expected in Safari on the same Mac.


The actual HTML page is as follows:


<html>
<title> Testing Devanagari on Mac/Firefox </title>


<h2>
My Name: केदार म्हसवडे

</h2>

</html>