#1
|
|||
|
|||
Unicode Support?
Hi,
I've been trying to use a degree-sign in my User Interface. '°' works but I get deprecation-warnings. __main__:12: DeprecationWarning: Non-ASCII character '\xb0' in file 050215_GreyBallsFrictiondist3WithoutSoccer2.py on line 1190, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details u'\N{DEGREE SIGN}' does not work What would you recommend? Or do I have to use 'degree' Johannes |
#2
|
|||
|
|||
It is just a warning, your script should still work. If you would like to get rid of the warning then place the following comment on the first line of your script:
Code:
# coding: UTF-8 |
#3
|
|||
|
|||
Yes it worked, but I just wanted to do it right.
Thank you! Johannes |
|
|