Re: Equal represented as HTML HEX entity number 63449 - is that correct?
- To: mathgroup at smc.vnet.net
- Subject: [mg68693] 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:51 -0400 (EDT)
- References: <acbec1a40608150231t4b060e36j9be9c99775f6a561@mail.gmail.com> <acbec1a40608160318h215c2e6bt8da4cbc29fcfd14a@mail.gmail.com>
- Sender: owner-wri-mathgroup at wolfram.com
I found out Mathematica's \[LongEqual] is the character that it is trying to represent with the supposedly invalid . There is a "Full Width Equals Sign" unicode character, = http://www.fileformat.info/info/unicode/char/ff1d/index.htm Perhaps that would be a good substitue? On 8/16/06, Chris Chiasson <chris at chiasson.name> wrote: > Notice the Equal sign is represented with the HTML hexadecimal numeric > entity . 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></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"] > -- http://chris.chiasson.name/