sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #03678
[Bug 795408] Re: X-1.0rc2: inconsistent handling of unicode specifications
This is my test:
-- in any cases I just use
print u'\u00A9'
-- running in IDE
I get the error:
print u'\u00A9' UnicodeEncodeError: 'ascii' codec can't encode character u'\u00A9' in position 0: ordinal not in range(128)
-- each possible form of running sikuli-script.jar from commandline (with a test.sikuli, using option -i, running the contained jython via org.python.util.jython interactively or with the .py from test.sikuli):
no error message, but a single ? (question mark) is printed
-- using my standalone Jython 2.5.1:
the expected copyright sign (©) is printed
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/795408
Title:
X-1.0rc2: inconsistent handling of unicode specifications
Status in Sikuli:
New
Bug description:
works: paste("te©st"); type(Key.ENTER)
error: unicode character ignored: paste("test1"+u"\u00A9"+"trailer")
works: print "©"
Error: print u"\u00A9"
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa9' in position 0: ordinal not in range(128)
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/795408/+subscriptions
References