← Back to team overview

sikuli-driver team mailing list archive

[Question #153431]: No unicode support for strings from external packages

 

New question #153431 on Sikuli:
https://answers.launchpad.net/sikuli/+question/153431

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.append('/Users/spud/workspace/sik/')
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



-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.