How to handle unicode characters in python scripts

I have been trying to make pyhon script in ignition which generates strings with scandic leters (ä ö), but the problem is that printing and handling that text is almost impossible to get rigth encoding and format.

Is there a certain way to handle unicode characters in ignition?

Are you prefixing your string literals with u, as in; u"my stringä ö"?

Your post is tagged 8.0 & perspective - are you trying to display these characters in Perspective components? Or can you go into more detail about precisely where you’re trying to render these characters and what’s not working?