XZise added a comment. The suggestion in https://phabricator.wikimedia.org/T66958#705611 only handles the original problem discussed here where the codec itself can't encode characters present in the title. But on all systems it'll always fail when using a non-ASCII title (or namespace) and it uses repr and tries to insert it into a unicode. This also mainly affects Python 2 only as `repr` in Python 3 can return Unicode characters and if you try putting bytes into a str it just adds the byte values.
TASK DETAIL https://phabricator.wikimedia.org/T66958 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise Cc: XZise, Aklapper, valhallasw, gerritbot, Dalba, Xqt, jayvdb, pywikibot-bugs-list, Ladsgroup, Malyacko, P.Copp _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
