sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #09853
Re: [Question #193332]: find word in some string read from a file - encoding problem
Question #193332 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/193332
RaiMan posted a new comment:
@j-the-k
this is what internally is added to the beginning of every script that is either run using the IDE or from command line using either sikuli-ide.jar (as with the .bat's) or sikuli-script.jar using <java -jar sikuli-script.jar some.sikuli>.
"# coding=utf-8",
"from __future__ import with_statement",
"from sikuli import *",
"setThrowException(True)",
"setShowActions(False)"
If you use any other method to run your Sikuli Jython scripts (plain Jython, Eclipse, Netbeans or whatever), you have to take care for the file encoding yourself (utf-8 is recommended).
BTW: when adding a comment, that might provoke an answer, pls. subscribe
to the question.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.