Problems with unicode support for strings from imported packages
Asked by
radioxid
Hi,
I try to paste strings from my personal packages into Spotlight (obv. on Mac) but only get empty strings.
What I do:
=======
import sys
sys.path.
import tests # works
T = tests.Tests.string
print T # Nothing
type(" ", KEY_CMD) # Spotlight
paste(T) # Nothing again
type(T) # Nothing again again
What it does:
========
Well, it opens Spotlight
What works:
========
print '@', 'm', "éèà"
type('éàç')
Notes:
====
• My keyboard is AZERTY
• T is of str() type, composed of ASCII chars encoded in UTF-8 (so… ASCII)
• My cat has no name
Thought:
======
• Why is it ≠ to print str from the very Sikuli's file and mines?
• Don't mind the cat
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- radioxid
- Solved:
- Last query:
- Last reply:
To post a message you must log in.