← 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:
Thanks for the reply, but I still get strange results.

If I set fullName to "øåæ åøæ"
and grap it with:
fullName =  Env.getClipboard().strip().encode("utf-8")

and then:
print (fullName)
(name, surName) = fullName.split(" ",1)
print (name)
print (surName)

I get this:

øåæ åøæ
øåæ
åøæ


I run version r930 on win xp..

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