mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-01 11:36:51 +02:00
Under C locale, open() in Python 3 sets the file encoding to ASCII. As expat looks at encoding="..." in XML declaration, gdbus-codegen can simply open the input file as binary and let expat decode the content. https://bugzilla.gnome.org/show_bug.cgi?id=696633