← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #218844]: Error when using accentuated characters in the code

 

Question #218844 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/218844

    Status: Open => Answered

RaiMan proposed the following answer:
--- click("Assuré")
This internally is processed as a text search for the text "Assuré" inside the current search region (in this case given by find("Bnf.png")). 
So to get rid of the UTF-8 error, you need the 
# coding=UTF-8
in the imported module.
But then the interface to the underlying text search feature (written in Java) does not seem to be aware of UTF-8 in the search string. This is a bug. I put it on the list.

For now, you have to live without using non ASCII characters in the text
search feature.

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