Unicode

Ok, so this isn’t really for python for blender, but I would say it’s still a pretty good question. So I really need to know how to print unicode characters in python. All the tutorials that I’ve found aren’t very good. So if somebody could just take me through the steps of printing ‘ü’ that would be awesome!:smiley:

if you want unicode string literals in your python files, put

-- coding: utf-8 --

as the first line of your script. tough, i don’t know if that works in blender.
a string literal should then be written like this:
my_string = u"blödsinn"

if you want to read unicode strings from files, use the codecs module

…hope this helps