← Back to team overview

sikuli-driver team mailing list archive

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

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Just tested with a Win7-64 and Java7 with latest version 1.1.0:

this worked:
outtext = "中文输出“
paste(unicd(outtext))

unicd() or ucode() is a function that comes with SikuliX in the Python
layer and is a shortcut for unicode(text, "utf8“) (which worked also).

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