← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #201882]: Replace chars in a var - string is UTF-8 encoded

 

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

    Status: Answered => Open

Alex Nilsson is still having a problem:
I do and it's ANSI ?

Btw found the "string_escape" codec and gave it a spin with:
Env.getClipboard().strip().encode("string_escape")
And printed it with:
.decode("string_escape")

That worked, but only in the worklog.. :(
When I paste it it looks like this "\xe6\xf8\xe5"..

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.