← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #685670]: Run SKL from the command line, set UTF-8, it doesn't work

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
at q1:
-Dfile.encoding=UTF-8
this setting only affects files internally loaded by Java.

Output to the commandline (in your case done by Python/Jython print)
cannot handle UTF-8.

use uprint() instaed of print or implement your own encoding.

at q2:
run the IDE from command line like this:
java -jar <path-to>\sikulix.jar -v -c
and watch the log on command line.

check the content of sys.path after startup.

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