MathGroup Archive 2006

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

Search the Archive

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


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 &#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"]
>


-- 
http://chris.chiasson.name/


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