Skip to content

Opening files not encoded with utf8 causes crash #3

@alexsieusahai

Description

@alexsieusahai

Easy to fix, try if the utf8 codec can decode the line, and except by displaying possibly like
File cannot be decoded with utf-8 codec
on the statusscr, setting filename to something empty (such as the empty string, '') and setting self.lineLinkedList to LineLinkedList(['\n']).

To recreate bug, use FILE_NAV to open any __pycache__ folder, and try opening any .pyc files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions