openApp() does not support chinese characters - use unicode strings

Bug #612852 reported by lijunwei
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Confirmed
Undecided
Unassigned

Bug Description

when i use the fuction like
openApp("D:\\Program Files\\Netease\\网易闪电邮\\Start.exe")

the return value of the openApp() is -1
I thought it can not start the application if the parameter contains chinese characters.

when i change the sentece to openApp("D:\\Program Files\\eMule\\emule.exe"),it works well.

Revision history for this message
niknah (hankin0) wrote :

In python you have to use the "u" string...

openApp(u"D:\\Program Files\\Netease\\网易闪电邮\\Start.exe")

RaiMan (raimund-hocke)
summary: - openApp()did not support chinese characters
+ openApp() does not support chinese characters - use unicode strings
Changed in sikuli:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.