Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Equal represented as HTML HEX entity number 63449 - is that correct?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68690] Re: Equal represented as HTML HEX entity number 63449 - is that correct?
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Thu, 17 Aug 2006 04:17:49 -0400 (EDT)
  • References: <acbec1a40608150231t4b060e36j9be9c99775f6a561@mail.gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Notice the Equal sign is represented with the HTML hexadecimal numeric
entity &#63449;. According to fileformat.info, this character is
invalid:

http://www.fileformat.info/info/unicode/char/f7d9/index.htm

Should this be the character that represents Equal in MathML output?
It doesn't appear to have a good representation in the fonts I've
tried. You can try too by changing the cell font of the output of the
ExportString command at the end of this email.

In[1]:=
XML`MathML`ExpressionToMathML[1==a]

Out[1]=
<math xmlns='http://www.w3.org/1998/Math/MathML'>
 <semantics>
 <mrow>
  <mn>1</mn>
  <mo>&#63449;</mo>
  <mi>a</mi>
 </mrow>
 <annotation-xml encoding='MathML-Content'>
  <apply>
   <eq/>
   <cn type='integer'>1</cn>
   <ci>a</ci>
  </apply>
 </annotation-xml>
 </semantics>
</math>

In[2]:=
$Version

Out[2]=
5.2 for Microsoft Windows (June 20, 2005)

For people that may want to look at the actual character and change
its encoding:
ExportString[
 XMLObject[
     "Document"][{XMLObject["Declaration"]["Version"->"1.0",
       "Encoding"->"UTF-8"]},
   XML`MathML`ExpressionToSymbolicMathML[1==a],{}],"XML"]


  • Prev by Date: Re: namespace collision [bug]
  • Next by Date: Re: too many special linear matrices->error in number
  • Previous by thread: Re: word problem
  • Next by thread: Re: Equal represented as HTML HEX entity number 63449 - is that correct?