Open malevolententity opened 1 year ago
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
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