Crash when opening a file encoded in UTF-8 with BOM
Hi !
I've tried to open a file encoded in UTF-8 with BOM and Gedit crashes immediately after loading it.
This is what I've got in a terminal :
$ gedit ./wp-config.php
**
GtkSourceView:ERROR:gtksourcecontextengine.c:5543:update_syntax: assertion failed: (g_slist_length (ce->priv->invalid) <= 1)
fish: Tâche 4678864, 'gedit' terminée par le signal SIGABRT (Abandon)
And these are the bytes of the file responsible of the crash. When you remove them, the file is supposed to be encoded in UTF-8 without BOM and can be opened without problem into Gedit.