Question #670783 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/670783
RaiMan proposed the following answer: ok, tested with 1.1.0 and 1.1.3 on Windows 10 latest Java 8. This finally worked for me: text = Env.getClipboard() # contains Unicode chars uprint(text) # does not print correctly on commandline (known problem) text1 = "ööööööööööööööööö" text2 = ucode(text1) #text = text + "\n" + text1 # does not work (ascii codec error) text = text + "\n" + text2 # works uprint(text) # see above paste(text) # works bot in IDE and from commandline conclusion: - assigning with Env.getClipboard() works - adding text with Unicode chars using + only works if text is encoded correctly (using ucode(text) or unicode(text, "utf8")) paste(text) works in all cases -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

