Special Characters

# Supported Escape Sequences

Tk::HyperText supports the rendering of a few standard escape sequences.

``

< | `&lt;`
> | `&gt;`
& | `&amp;`
" | `&quot;`
' | `&apos;`
| `&nbsp;`
® | `&reg;`
♥ | `&hearts;`
♦ | `&diams;`
♣ | `&clubs;`
♠ | `&spades;`
‘ | `&lsquo; ‘`
’ | `&rsquo; ’`
“ | `&ldquo; “`
” | `&rdquo; ”`
• | `&bull; •`
– | `&ndash; –`
— | `&mdash; —`
™ | `&trade; ™`
¢ | `&cent; ¢`
£ | `&pound; £`
¤ | `&curren; ¤`
¥ | `&yen; ¥`
© | `&copy; ©`
« | `&laquo; «`
» | `&raquo; »`
¾ | `&frac34; ¾`
½ | `&frac12; ½`
… | `&hellip; 舰`
€ | `&euro; 荤`

In addition, all standard decimal escape codes are also rendered successfully. For example:

``

¤ | `&#0164;`
¿ | `&#0191;`
™ | `&#8482; (trade)`
♥ | `&#9829; (hearts)`
& | `&#38; (amp)`