I saw this assert too and reported it upstream https://gitlab.gnome.org/GNOME/gedit/-/issues/353#note_894322
** Bug watch added: gitlab.gnome.org/GNOME/gedit/-/issues #353 https://gitlab.gnome.org/GNOME/gedit/-/issues/353 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/1681962 Title: gedit handles encodings inconsistently (and corrupts files) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1681962/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs