# Perspective PopUp Collation bug

**URL:** <https://forum.inductiveautomation.com/t/perspective-popup-collation-bug/35653>\
**Category:** Ignition\
**Tags:** ignition80, scripting\
**Created:** [June 15, 2020, 1:36pm UTC](https://forum.inductiveautomation.com/t/perspective-popup-collation-bug/35653 "2020-06-15T13:36:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor1](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@victor1](https://forum.inductiveautomation.com/u/victor1)\
**Post date:** [June 15, 2020, 1:36pm UTC](https://forum.inductiveautomation.com/t/perspective-popup-collation-bug/35653/1 "2020-06-15T13:36:57Z")

</div>

Hello!!

Does anyone know how to change the pop-up collation?  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/7bebe7bd8981eacba95d2f93929edd273dcd8e23.png)

```auto
system.perspective.openPopup("popupAvaliarErro","Page/popup/generic", showCloseIcon = False, resizable = False, draggable = False, params = {"titulo": "Avaliação inexistente", "corpo": "Não existe nenhuma avaliação para esses parâmetros. Favor verificar o link acessado."})

```

---

<div class="post-metadata">

**Author:** ![victor1](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@victor1](https://forum.inductiveautomation.com/u/victor1)\
**Post date:** [June 15, 2020, 1:44pm UTC](https://forum.inductiveautomation.com/t/perspective-popup-collation-bug/35653/2 "2020-06-15T13:44:18Z")

</div>

I was testing it here and this bug only appears when the text is passed through parameters.  
I added a label with a fixed text and it was correct

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/348085f671f8774ecf2637b4395a95faa20c0064.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 15, 2020, 4:17pm UTC](https://forum.inductiveautomation.com/t/perspective-popup-collation-bug/35653/3 "2020-06-15T16:17:09Z")

</div>

```auto
system.perspective.openPopup("popupAvaliarErro","Page/popup/generic", showCloseIcon = False, resizable = False, draggable = False, params = {"titulo": "Avaliação inexistente", "corpo": "Não existe nenhuma avaliação para esses parâmetros. Favor verificar o link acessado."})

```

You need to mark your strings as unicode; add the prefix `u` like so:

```python
system.perspective.openPopup("popupAvaliarErro","Page/popup/generic", showCloseIcon = False, resizable = False, draggable = False, params = {"titulo": u"Avaliação inexistente", "corpo": u"Não existe nenhuma avaliação para esses parâmetros. Favor verificar o link acessado."})

```

This is Python (2) behavior, not specific to Ignition.

---

<div class="post-metadata">

**Author:** ![victor1](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@victor1](https://forum.inductiveautomation.com/u/victor1)\
**Post date:** [June 16, 2020, 12:47pm UTC](https://forum.inductiveautomation.com/t/perspective-popup-collation-bug/35653/4 "2020-06-16T12:47:57Z")

</div>

thank you very much!
