# Unicode fonts displaying properly in Report preview in Designer but not in Perspective view

**URL:** <https://forum.inductiveautomation.com/t/unicode-fonts-displaying-properly-in-report-preview-in-designer-but-not-in-perspective-view/91578>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 8, 2024, 2:06pm UTC](https://forum.inductiveautomation.com/t/unicode-fonts-displaying-properly-in-report-preview-in-designer-but-not-in-perspective-view/91578 "2024-06-08T14:06:45Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [June 10, 2024, 10:30am UTC](https://forum.inductiveautomation.com/t/unicode-fonts-displaying-properly-in-report-preview-in-designer-but-not-in-perspective-view/91578/3 "2024-06-10T10:30:35Z")

</div>

I had something similar and they gave me a solution

> [@UTF-8 special characters "ñ" from Transform Script](https://forum.inductiveautomation.com/t/utf-8-special-characters-n-from-transform-script/91004/2):
>
> You have used non-ASCII characters in jython string constants that do not support them. Use unicode string constants instead, using the u"Mañana" syntax. That lower-cause u before the first quote tells jython to handle the unicode characters correctly. [https://docs.python.org/2.7/reference/lexical\_analysis.html#strings](https://docs.python.org/2.7/reference/lexical_analysis.html#strings)

u may try write your thai text like this:

u"ประเทศไทยเป็นประเทศที่มีความหลากหลายทางวัฒนธรรมและประเพณี มีอาหารที่หลากหลายและอร่อยมาก เช่น ต้มยำกุ้ง ส้มตำ และผัดไทย นอกจากนี้ ประเทศไทยยังมีสถานที่ท่องเที่ยวที่สวยงามมากมาย เช่น เกาะสมุย ภูเก็ต และเชียงใหม่ ทุกๆ ปีมีนักท่องเที่ยวจากทั่วโลกมาเยือนประเทศไทยเพื่อสัมผัสกับวัฒนธรรมที่เป็นเอกลักษณ์และทิวทัศน์ที่งดงาม"

with the u

---

_[View the full topic](https://forum.inductiveautomation.com/t/unicode-fonts-displaying-properly-in-report-preview-in-designer-but-not-in-perspective-view/91578)._
