Firefox not recognizing some special characters in an XHTML+MathML file

When trying to display a webpage generated from MS Word in Firefox, it does=
 not display some special characters generated by MS Word if the webpage is=
 saved as an .xht file. For example, MS Word converts the single quote, dou=
ble quotes and three dots (=E2=80=A6) into some special characters when you=
 save the word document as a webpage. Firefox does not recognize these char=
acters.
=C2=A0
To understand the problem, please copy the following content to a notepad a=
nd save it as .XHT file and open the file in Firefox. Then remove the singl=
e quotes, the double quotes and three dots and open the file again.
=C2=A0
///////////////Begin: Sample file content/////////////////////
=C2=A0
<?xml version=3D"1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://w=
ww.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [<!ENTITY mathml "http://www.w=
3.org/1998/Math/MathML">]>
<html xmlns:m=3D"http://www.w3.org/1998/Math/MathML"=C2=A0 xmlns=3D"http://=
www.w3.org/1999/xhtml" >
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1=
252" />
<title>Special Characters issue in Firefox</title>
<style>
<!--
=C2=A0/* Style Definitions */
=C2=A0p.MsoNormal, li.MsoNormal, div.MsoNormal
=C2=A0{margin:0in;
=C2=A0margin-bottom:.0001pt;
=C2=A0font-size:12.0pt;
=C2=A0font-family:"Times New Roman";}
@page Section1
=C2=A0{size:8.5in 11.0in;
=C2=A0margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
=C2=A0{page:Section1;}
-->
</style>
</head>
<body lang="EN-US">
<div class="Section1">
<m:math><m:msup><m:mi>x</m:mi><m:mn>2</m:mn></m:msup></m:math><br />
The following characters generated by MS Word do not display
correctly in Firefox 3.6.6:<br />
‘Single Quote’<br />
“Double Quote”<br />
The three dots …<br />
</div>
</body>
</html>

///////////////End: Sample file content/////////////////////
 
Please help. Thank you in advance.
Saf


      
--0-1240279897-1278041510=:68020
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>When trying to display a webpage generated from MS Word in Firefox, it does not display some special characters generated by MS Word if the webpage is saved as an .xht file. For example, MS Word converts the single quote, double quotes and three dots (…) into some special characters when you save the word document as a webpage. Firefox does not recognize these characters.</DIV>
<DIV>&nbsp;</DIV>
<DIV>To understand the problem, please copy the following content to a notepad and save it as .XHT file and open the file in Firefox. Then remove the single quotes, the double quotes and three dots and open the file again.</DIV>
<DIV>&nbsp;</DIV>
<DIV>///////////////Begin: Sample file content/////////////////////</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;?xml version="1.0" ?&gt;<BR>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "<A href="http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd</A>" [&lt;!ENTITY mathml "<A href="http://www.w3.org/1998/Math/MathML">http://www.w3.org/1998/Math/MathML</A>"&gt;]&gt;<BR>&lt;html xmlns:m="<A href="http://www.w3.org/1998/Math/MathML">http://www.w3.org/1998/Math/MathML</A>"&nbsp; xmlns="<A href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</A>" &gt;</DIV>
<DIV>&lt;head&gt;<BR>&lt;meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /&gt;<BR>&lt;title&gt;Special Characters issue in Firefox&lt;/title&gt;<BR>&lt;style&gt;<BR>&lt;!--<BR>&nbsp;/* Style Definitions */<BR>&nbsp;p.MsoNormal, li.MsoNormal, div.MsoNormal<BR>&nbsp;{margin:0in;<BR>&nbsp;margin-bottom:.0001pt;<BR>&nbsp;font-size:12.0pt;<BR>&nbsp;font-family:"Times New Roman";}<BR>@page Section1<BR>&nbsp;{size:8.5in 11..0in;<BR>&nbsp;margin:1.0in 1.25in 1.0in 1.25in;}<BR>div.Section1<BR>&nbsp;{page:Section1;}<BR>--&gt;<BR>&lt;/style&gt;</DIV>
<DIV>&lt;/head&gt;</DIV>
<DIV>&lt;body lang="EN-US"&gt;</DIV>
<DIV>&lt;div class="Section1"&gt;</DIV>
<DIV>&lt;m:math&gt;&lt;m:msup&gt;&lt;m:mi&gt;x&lt;/m:mi&gt;&lt;m:mn&gt;2&lt;/m:mn&gt;&lt;/m:msup&gt;&lt;/m:math&gt;&lt;br /&gt;</DIV>
<DIV>The following characters generated by MS Word do not display<BR>correctly in Firefox 3.6.6:&lt;br /&gt;</DIV>
<DIV>‘Single Quote’&lt;br /&gt;</DIV>
<DIV>“Double Quote”&lt;br /&gt;</DIV>
<DIV>The three dots …&lt;br /&gt;</DIV>
<DIV>&lt;/div&gt;</DIV>
<DIV>&lt;/body&gt;</DIV>
<DIV>&lt;/html&gt;</DIV>
<DIV><BR>///////////////End: Sample file content/////////////////////</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please help. Thank you in advance.</DIV>
<DIV>Saf</DIV></td></tr></table><br>







      
--0-1240279897-1278041510=:68020--

Received on Friday, 2 July 2010 04:04:36 UTC