# Superscript and special characters

**URL:** <https://community.homey.app/t/superscript-and-special-characters/47330>\
**Category:** Developers\
**Created:** [May 12, 2021, 11:14am UTC](https://community.homey.app/t/superscript-and-special-characters/47330 "2021-05-12T11:14:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Williamson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david_williamson/32/6495_2.png) [@David\_Williamson](https://community.homey.app/u/David_Williamson)\
**Post date:** [May 12, 2021, 11:14am UTC](https://community.homey.app/t/superscript-and-special-characters/47330/1 "2021-05-12T11:14:35Z")

</div>

In `app.json` you can specify custom capabilities with the unit defined in `unit`. This is fine for normal roman characters and digits, but how can I specify special characters such as `μ` or a sub- or superscript? Do I use Unicode UTF-16 or something? What would the syntax be?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [May 12, 2021, 11:34am UTC](https://community.homey.app/t/superscript-and-special-characters/47330/2 "2021-05-12T11:34:19Z")

</div>

The JSON standard supports UTF-8, UTF-16 and UTF-32. However, the default is UTF-8 and it is highly recommended to use that character encoding for your JSON documents.

```auto
  "units" : { "en" : "μA" }

```

---

<div class="post-metadata">

**Author:** ![David\_Williamson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david_williamson/32/6495_2.png) [@David\_Williamson](https://community.homey.app/u/David_Williamson)\
**Post date:** [May 12, 2021, 12:59pm UTC](https://community.homey.app/t/superscript-and-special-characters/47330/3 "2021-05-12T12:59:14Z")

</div>

Great, thanks.  
Based on that I tested a bit more and for other characters such as superscripts I can use the UTF-16 code, e.g. for a cubic meter I can type `"units": "m\u00b3"` which renders well in the Homey UI.
