sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #03240
Re: [Question #160886]: how to type the copyright symbol ©
Question #160886 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/160886
Status: Answered => Solved
Harry C. confirmed that the question is solved:
ya the problem was i was getting the symbol from an external file. i
thought that the file was encoded in UTF-8, but it turns out that it
converts back to unicode or something when it is written to file. what i
had to do was use .encode("UTF-8") and then everything was good.
Basically:
paste("©") works.
paste(u"\u00a9") does not work.
paste(u"\xc2\xa9") works too.
paste(u"\u00a9".encode("utf-8")) works and is essentially what i used (the "\u00a9" text was coming in from file)
thanks
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.