← Back to team overview

sikuli-driver team mailing list archive

[Question #271497]: pasting the Chinese characters in textbox of some application will appear garbled

 

New question #271497 on Sikuli:
https://answers.launchpad.net/sikuli/+question/271497

Since using the windows encoded by gbk, when pasting the Chinese characters in textbox of some application will appear garbled.

#my code
outtext = "中文输出"
paste(unicode(outtext,"utf8"))

or

outtext = u"中文输出"
paste(outtext)

Is there any way to solve this problem?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.