WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 02-16-2005, 07:02 AM
Johannes Johannes is offline
Join Date: Jan 2005
Posts: 143
Unicode Support?

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 on line 1190, but no encoding declared; see for details

u'\N{DEGREE SIGN}' does not work

What would you recommend? Or do I have to use 'degree'

Reply With Quote
Old 02-16-2005, 10:44 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
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:
# coding: UTF-8
Reply With Quote
Old 02-16-2005, 02:16 PM
Johannes Johannes is offline
Join Date: Jan 2005
Posts: 143
Yes it worked, but I just wanted to do it right.
Thank you!
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 07:01 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC