← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #385878]: UnicodeEncodeError ( 'ascii' codec can't encode character u'\u2018' in position 1: ordinal not in range(128) )

 

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

    Status: Answered => Open

Cam is still having a problem:
Thank you very much for quick response.
It worked but I also get extra lines.

Do you know how to get rid of the extra lines?

'-'-aacbH Forward ll'I—'CopyDL ---EXTRA LINE
Reference mode: 1080i 59.94
it is 1080 and 59.94



-----Original Message-----
From: bounces@xxxxxxxxxxxxx [mailto:bounces@xxxxxxxxxxxxx] On Behalf Of RaiMan
Sent: Wednesday, September 07, 2016 3:27 PM
To: Camellia Famili
Subject: Re: [Question #385878]: UnicodeEncodeError ( 'ascii' codec can't encode character u'\u2018' in position 1: ordinal not in range(128) )

Your question #385878 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/385878

    Status: Open => Answered

RaiMan proposed the following answer:
apparently the returned text contains UTF-8/non-ASCII characters.

the normal print cannot be used in this case.

use
uprint(text)

instead.

--
If this answers your question, please go to the following page to let us know that it is solved:
https://answers.launchpad.net/sikuli/+question/385878/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/385878

You received this question notification because you asked the question.

----------------------------------------------
This e-mail and any attachments may contain information that is confidential to Ross Video.
If you are not the intended recipient, please notify me immediately by replying to this message. Please also delete all copies. Thank you.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.