← Back to team overview

sikuli-driver team mailing list archive

[Question #661397]: Trying to type non-ascii characters with "paste(ucode(text))" is raising the UnicodeEncodeError Exception

 

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

I'm trying to type the following line:

type("§§§" + Key.ENTER)

After searching on here I found out about the "paste(ucode(text))", however after trying that I got stuck with the same error, notably:

IDE: (org.sikuli.scriptrunner.JythonScriptRunner@259dd9ac).runScript: Exception: UnicodeEncodeError: 'ascii' codec can't encode characters in position 152-157: ordinal not in range(128)

I've looked around on the internet but to no avail. 

Help would be appreciated.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.