GNOME Bugzilla – Bug 660633
Unescape invalid UTF-8 text when saving
Last modified: 2021-07-05 11:02:34 UTC
+++ This bug was initially created as a clone of Bug #502947 +++ The way to fix this is to modify gedit-document-input-stream and make something similar as when we escape the text in the output-stream.
If bug #637270 is fixed, the invalid chars don't need to be escaped when they are inserted into the buffer, so no need to unescape them on saving.
*** Bug 690531 has been marked as a duplicate of this bug. ***
Actually Bug 690531 is not a dup of this.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/ Thank you for your understanding and your help.