don't support the double-byte character

Asked by wcf

when I using the switchApp(), it doesn't support double-byte character.
======================================
switchApp("project sikuli")
wait(5)
switchApp("reference-0.10")
wait(5)
switchApp("英国")
wait(5)
popup("the end")
======================================

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Looking into the implementation at the lowest level, where in the windows environment the window titles are checked wether they contain the given string, it seems, that the code is not dealing with multibyte characters - or at least not correctly.

You should report a bug.

Revision history for this message
niknah (hankin0) said :
#2

You have to tell python to use unicode like...

switchApp(u"英国")

Can you help with this problem?

Provide an answer of your own, or ask wcf for more information if necessary.

To post a message you must log in.