Orange Forum • View topic - Rename widget on the canvas to Chinese string

Rename widget on the canvas to Chinese string

A place to ask questions about methods in Orange and how they are used and other general support.

Rename widget on the canvas to Chinese string

Postby netis » Fri Jan 18, 2013 2:13

Hi,
When I try to rename widget on the canvas to Chinese string, Orange output the following info:

Unhandled exception of type UnicodeEncodeError occured at 9:02:27:
Traceback:
File: orngView.py, line 105 in renameActiveWidget
Code: newName = str(newName)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 12-13: ordinal not in range(128)


My orange version is "orange-win-w-python-snapshot-hg-2013-01-16-py2.7"。Can I use widget name with Chinese character?

Re: Rename widget on the canvas to Chinese string

Postby marko » Fri Jan 18, 2013 7:25

Unfortunately, no.

For now Orange only supports ASCII (basic latin alphabet). We are working on a version with unicode support, but I guess it won't be ready for at least a year.


Return to Questions & Support



cron