← Back to team overview

sikuli-driver team mailing list archive

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

j posted a new comment:
I ran the script with the sikuli-ide.sh but not directly. I use several
Sikuli-modules, and the one with "üäöß" in it is one that is imported by
the one I executed. Like this:

<file1.sikuli>
print "äüöß"

<file2.sikuli>
import file1

sikuli-ide.sh -r file2.sikuli

=> encoding problem if file1 does not contain # -*- coding: utf-8 -*-

So maybe the encoding is not added to every sikuli-file or only to the
ones that are executed directly and not imported?

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