sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34634
[Question #271496]: When the path contains Chinese characters, cann't be opened
New question #271496 on Sikuli:
https://answers.launchpad.net/sikuli/+question/271496
I tried to use this method (faq #230234) to deal with the Chinese characters path.
But it cann't opened.
#My Code
dirEng = r"D:\UpdateConfig\Test by English ptah\ConfigTool.exe"
dirChn = r'D:\UpdateConfig\中文测试路径\ConfigTool.exe'
App.open(dirEng)
App.open(unicode(dirChn,"utf8"))
#Report error
[log] App.open D:\UpdateConfig\Test by English ptah\ConfigTool.exe(7000)
[log] App.open D:\UpdateConfig\中文测试路径\ConfigTool.exe(0)
[error] App.open failed: D:\UpdateConfig\中文测试路径\ConfigTool.exe not found
What method can be used to open the Chinese path of the software?Please advise.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.