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 |
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 |
Yes it worked, but I just wanted to do it right.
Thank you! Johannes |
All times are GMT -7. The time now is 10:02 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC