Backport !1788 “gdate: Validate input as UTF-8 before parsing” to glib-2-66 See merge request GNOME/glib!1790