Character references
A character reference is an XML-style reference to a Unicode character that is identified by its decimal or hexadecimal code point.
A character reference begins with either
&#x
or &#
,
and it ends with a semicolon (;). If the character reference begins
with &#x
, the digits and letters before the terminating
semicolon (;) provide a hexadecimal representation of the character's
code point in the ISO/IEC 10646 standard.
If the character reference begins with &#
, the
digits before the terminating semicolon (;) provide a decimal representation
of the character's code point.Example
The character reference €
or €
represents
the Euro symbol (€).