Skip to content

Capture a UnicodeError and show a nice message suggesting the use of the --encoding option. #77

@eldipa

Description

@eldipa

Describe the feature you'd like
Capture UnicodeError on pexpect's expect: that exception means that the output received from the interpreter cannot be decoded (wrong encoding or it is not a valid unicode at all).

Print a nice message explaining that and showing that the encoding can be changed using --encoding.

Do the same when opening a file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsomething nice to have but it is not neither critical nor urgentgood first issueissues that should be easy to get done

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions