# Special Characters in hist title

**URL:** <https://root-forum.cern.ch/t/special-characters-in-hist-title/45158>\
**Category:** Newbie\
**Created:** [May 31, 2021, 11:07am UTC](https://root-forum.cern.ch/t/special-characters-in-hist-title/45158 "2021-05-31T11:07:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomS](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/53a042/32.png) [@TomS](https://root-forum.cern.ch/u/TomS)\
**Post date:** [May 31, 2021, 11:07am UTC](https://root-forum.cern.ch/t/special-characters-in-hist-title/45158/1 "2021-05-31T11:07:51Z")

</div>

Hello,  
Does anybody know how to include polish characters (ą, ę, ń, ó) in histogram title and name ?  
Title and name are char strings and they are coded in ASCII I suppose. Is it possible to use UTF-8?

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [May 31, 2021, 11:58am UTC](https://root-forum.cern.ch/t/special-characters-in-hist-title/45158/2 "2021-05-31T11:58:28Z")

</div>

```auto
{
   auto h = new TH1D("h","", 10,0,1);
   h->Draw();
    TMathText l;
    l.DrawMathText(0.4, 1.1, "\\hbox{( ą, ę, ń, ó)}");
}

```

 ![Screenshot 2021-05-31 at 13.58.05](https://root-forum.cern.ch/uploads/default/original/3X/f/4/f4d13a76c8d0e0e106928c10eb2391a3dc430003.jpeg)
