When the path contains Chinese characters, cann't be opened

Asked by can

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.

Question information

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

Pathnames containing utf-8 encoded characters still make problems in various features of Sikuli.

This problem will probably only be solved in version 2.

So if it does not work, then you have to either use pathnames that work or use other methods to achieve what you want (e.g run from command line and use the start command to start your app before starting the script)

Revision history for this message
can (ting) said :
#2

I'm really looking forward to version 2.

Revision history for this message
can (ting) said :
#3

Thanks RaiMan, that solved my question.