print region.text(): UnicodeEncodeError --- use uprint()
Asked by
Cam
Hi. Pls Help.
I'm receiving error "UnicodeEncodeError ( 'ascii' codec can't encode character u'\u2018' in position 1: ordinal not in range(128) )"
when I run the code below:
I receive the error on line "print(text)".
Settings.
reg=
text = reg.text()
print(text) ********I receive error here*******
if "1080" in text:
if "59.94" in text:
else:
else:
print("Not 1080")
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.