sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30233
[Question #261056]: UnicodeEncodeError 'ascii' codec can't encode character
New question #261056 on Sikuli:
https://answers.launchpad.net/sikuli/+question/261056
Yesterday had raised Question # 261013
So as per suggestion installed sikuli 1.0.0 version. Now OCR part is working but not getting result properly.
Issue 1:
The script reads a table content from Web UI. The value is "ENTR00525396_Mbr_Request.xlsx" but it prints "ENTROOS2S396_Mbr_Request.x|sx" i.e. prints zero as "O" and 5 as "S" and l as "|".
Issue 2:
Table also contents some ascii values and Sikuli throws below error
[error] script [ CQQuery ] stopped with error in line 61
[error] UnicodeEncodeError ( 'ascii' codec can't encode character u'\u2018' in position 12: ordinal not in range(128) )
So what is the solution to avoid ascii values while printing and print some characters correctly.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.