so turns out that passing invalid utf-8 to glib is unsafe: https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/402 but it seems that `lgi_marshal_2c` doesn't do that: https://sources.debian.org/src/lua-lgi/0.9.2-4/lgi/marshal.c/?hl=956#L956
so turns out that passing invalid utf-8 to glib is unsafe: https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/402
but it seems that
lgi_marshal_2cdoesn't do that: https://sources.debian.org/src/lua-lgi/0.9.2-4/lgi/marshal.c/?hl=956#L956