codegen: Treat input file as binary
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
parent
1e945933
Please register or sign in to comment