New question #231065 on Sikuli:
https://answers.launchpad.net/sikuli/+question/231065

Hello,
 When i try to import utf-8 encoded file and use paste function to paste text 
with special characters into a box, i get distorted special characters such as 
boxes, squares etc.

Here is what I am doing

with codecs.open(inputFileName, 'rb', 'utf-8') as file:
    myreader = csv.reader(file) 

 headers = myreader.next()

    for row in myreader:
        clipboardContent = 
clipboard.getContents(None).getTransferData(DataFlavor.stringFlavor)

SMS = row[7]


click ("SubjectIEEEA.png")
paste(("" + SMS + ""))


I tried to use the encoding without BOM and it still gives me distorted data.

Please help.



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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to