cs01 / cs01/gdbgui

Source file decoding errors

Open
#471 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10.4k
Forks
521
PR merge metrics
No merged PRs in 30d

Description

Fixes proposed in https://github.com/cs01/gdbgui/issues/347#issuecomment-678799237was 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.