Have I to do same like
/MainFont.render(str(angle)+"°".encode("utf-8"), True, color)/
??
the line above give me an error :( !
PSL!!!!
Vittorio

Il 14/05/2014 18:33, Dominik George ha scritto:
Moin,

the problem is that (assuming angle is 30) I can't see
/angle: 30°/
but
/angle: 30°/
that looks pretty much like an encoding issue. Apparently, Font.render expects
latin1 encoding.

You could use the str.encode funktion to work around that, finding out how to
do that is left as an exercise to you ;).

Cheers,
Nik
/
/

Reply via email to