requested to merge igo95862/NetworkManager:fix-python2-generate-docs-nm-settings-docs-gir into main
This a follow up to !1246 (closed)
On python2 the following error is raised:
LookupError: unknown encoding: unicode
unicode is a correct encoding in Python 3 but not 2.
I tested element tree on python2 and it
utf-8 seems to work. (I can't test entire build as it would require me to install too many Python 2 dependencies)