sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #52409
Re: [Question #683438]: Region.text() doesn't work normally with Japanese image
Question #683438 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/683438
Description changed to:
I used Region.text() to get Japanese text as following:
# -*- coding: utf-8 -*-
import sys
import os
from sikuli import *
str = find("interrupt.png").text()
print str
The "interrupt.png" contains "認識中断"
However, str returns "El2EPB" string, not "認識中断"
In other case, str = find("interrupt.png").right().text()
In where, the right of this image will have "バッチ管理" string
Currently, I don't find the way to resolve this problem
Could you help me resolve this problem?
Thanks and best regards
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.