Skip to content

"invalid continuation byte" error - UTF-8 and OS code page, see solution #451

Closed
@Vic-Lau

Description

Hello @kensoh, I am Chinese, I think there is a problem with tagui for python handling of Chinese characters, For example:

r.type('//*[@name="q"]', '撒') # google search input type test, It will cause 'invalid continuation byte'.

and

r.type('D:\input.png', '中文') # chrome input png type test, It will nothing happens and script will pending.

Mr.kensoh, Can you give me some advice? I really need your help! Thank you so much!

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions