# Non english characters in MessageBox, WarningBox, ConfirmBox

**URL:** <https://forum.inductiveautomation.com/t/non-english-characters-in-messagebox-warningbox-confirmbox/7840>\
**Category:** Ignition\
**Created:** [January 15, 2014, 10:43am UTC](https://forum.inductiveautomation.com/t/non-english-characters-in-messagebox-warningbox-confirmbox/7840 "2014-01-15T10:43:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [January 15, 2014, 10:43am UTC](https://forum.inductiveautomation.com/t/non-english-characters-in-messagebox-warningbox-confirmbox/7840/1 "2014-01-15T10:43:53Z")

</div>

I have problems with non-english characters in MessageBox, WarningBox, ConfirmBox popups.  
My Ignition PC is set to Slovenian in Regional setting. In System Status page Ignition shows correct locale: sl\_SI.  
But when I use Slovenian language to show message in MessageBox or WarningBox or ConfirmBox popup, it’s not showing Slovenian letters (chars) like: š,č,ž, Š,Č,Ž… but some strange characters.  
In the popup the message should be: “Ali res želite izbrisati izbrano šifro?”  
(Do you really want to delete selected code?)

I’m I missing something?

I have latest Ignition (7.6.5-rc1 (b2013122712), Windows 7 ultimate with Slovenian language.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [January 15, 2014, 11:00am UTC](https://forum.inductiveautomation.com/t/non-english-characters-in-messagebox-warningbox-confirmbox/7840/2 "2014-01-15T11:00:21Z")

</div>

Hi!  
I used this site to convert unicode to html:  
[http://www.unicodetools.com/unicode/convert-to-html.php](http://www.unicodetools.com/unicode/convert-to-html.php)

Ali res želite izbrisati izbrano šifro? returned Ali res želite izbrisati izbrano šifro?.

Putting it into a warning box:

```auto
system.gui.warningBox("<html>Ali res &#382;elite izbrisati izbrano &#353;ifro?")
```

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [January 16, 2014, 1:23pm UTC](https://forum.inductiveautomation.com/t/non-english-characters-in-messagebox-warningbox-confirmbox/7840/3 "2014-01-16T13:23:13Z")

</div>

Thank you. ![:prayer:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e5a7e3b63facc151ea73e3b45db7bdb3d4bdc316.gif ":prayer:")  
Thank you. ![:prayer:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e5a7e3b63facc151ea73e3b45db7bdb3d4bdc316.gif ":prayer:")  
Thank you. ![:prayer:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e5a7e3b63facc151ea73e3b45db7bdb3d4bdc316.gif ":prayer:")  
.  
.  
.  
.

Why is this necessary for Message, Warning, Confirm and ErrorBox-es? Everywhere else (designer, client windows) I can use these characters.

[attachment=0]slowclap.gif[/attachment]

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [January 16, 2014, 4:27pm UTC](https://forum.inductiveautomation.com/t/non-english-characters-in-messagebox-warningbox-confirmbox/7840/4 "2014-01-16T16:27:54Z")

</div>

In Python, non-Latin characters need to be Unicode strings, which are marked by a u in front of the string. This means your popup message string should be coded as `u'Ali res želite izbrisati izbrano šifro?'` It’s a silly standard, but there you are. 🙂

The good news is that it doesn’t hurt to code all strings as Unicode.

Correctly coding the strings will now make them display correctly in message boxes, labels in components, and the console in Linux and Mac. The console in Windows does not handle Unicode like the rest of the world, and we don’t have that working correctly yet. (There is a hacky work around fr that – let me know if you need it).

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [January 17, 2014, 7:46am UTC](https://forum.inductiveautomation.com/t/non-english-characters-in-messagebox-warningbox-confirmbox/7840/5 "2014-01-17T07:46:27Z")

</div>

@KathyApplebaum  
Thank you. ![:thumb_right:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/2026e28c0c425034352c1b75807edf956adc75f4.gif ":thumb\_right:")

I really didn’t know that. A man is learning as long as he lives. 🙂
