Source file decoding errors
Open
- 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
Assessment
This issue has not been assessed yet.