Skip to content

Source file decoding errors  #471

Open
@malevolententity

Description

@malevolententity

Fixes proposed in #347 (comment) not added to the master branch

with open(path, "r") as f:

to

with open(path, "r", errors="replace") as f:

In gdbgui/server/http_routes.py

Have verified that this fix fixes an issue where source file contents can't be displayed if contents of file have special UTF-8 characters

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