# Encoding special character for htmlText

**URL:** <https://forum.kirupa.com/t/encoding-special-character-for-htmltext/175947>\
**Category:** Uncategorized\
**Created:** [January 19, 2006, 1:43am UTC](https://forum.kirupa.com/t/encoding-special-character-for-htmltext/175947 "2006-01-19T01:43:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SmoothDime](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@SmoothDime](https://forum.kirupa.com/u/SmoothDime)\
**Post date:** [January 19, 2006, 1:43am UTC](https://forum.kirupa.com/t/encoding-special-character-for-htmltext/175947/1 "2006-01-19T01:43:56Z")

</div>

does anyone know how to do a superscripted 3 with html text?

something like this:

```auto

my_txt.htmlText = "3(special character here) = 27";

```

thanks
