After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660633 - Unescape invalid UTF-8 text when saving
Unescape invalid UTF-8 text when saving
Status: RESOLVED OBSOLETE
Product: gtksourceview
Classification: Platform
Component: File loading and saving
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on: 502947
Blocks:
 
 
Reported: 2011-10-01 14:05 UTC by Ignacio Casal Quinteiro (nacho)
Modified: 2021-07-05 11:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ignacio Casal Quinteiro (nacho) 2011-10-01 14:05:39 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.
Comment 1 Sébastien Wilmet 2013-05-18 19:14:27 UTC
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.
Comment 2 Sébastien Wilmet 2013-11-03 23:11:51 UTC
*** Bug 690531 has been marked as a duplicate of this bug. ***
Comment 3 Behdad Esfahbod 2013-11-04 10:39:35 UTC
Actually Bug 690531 is not a dup of this.
Comment 4 GNOME Infrastructure Team 2021-07-05 11:02:34 UTC
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.