Re: [Sikuli-driver] [Question #693580]: Can't findText() with special character

2020-10-23 Thread Ben
Question #693580 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693580

Ben confirmed that the question is solved:
Thanks masuo, that solved my question.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #693580]: Can't findText() with special character

2020-10-23 Thread Ben
Question #693580 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693580

Status: Answered => Solved

Ben confirmed that the question is solved:
Oh wow I didn't think about trying with the u"", thank you for your help
masuo !

Have a good day !

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #693580]: Can't findText() with special character

2020-10-22 Thread masuo
Question #693580 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693580

Status: Open => Answered

masuo proposed the following answer:
literal strings must be surrounded by u" and ".

[example]
m = findText(u"é")
if m:
m.highlight(1)

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #693580]: Can't findText() with special character

2020-10-22 Thread Ben
New question #693580 on Sikuli:
https://answers.launchpad.net/sikuli/+question/693580

Hello, so I'm trying to use findText() for a program, it work fine on words 
without special character, but when I try to find text with special character 
like é or è or à (for french words), it crash and do a traceback with a find 
failed.

I have OcrLanguage = Fra but it doesn't change anything.

Do you know if there is a solution ? 

I was thinking about trying to find parts of the words without special 
character but it will be tedious for the rest of my program.

Thank you for your work on sikulix, hope we can find a solution ! 



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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp