Xqt created this task. Xqt added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION `comms.http._decide_encoding` sometimes gives a warning like `WARNING: Unknown or invalid encoding 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'` and returns None because encodings detection fails but it could detect encoding easily because 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'` contains multiple encodings separated by comma and with quality factor which is 1 by default. The given string has the following encodings: 1. ISO-8859-1 (quality 1.0) 2. utf-8 (quality 0.7) 3. * = wildcard for other encodings (quality 0.7) TASK DETAIL https://phabricator.wikimedia.org/T392345 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, Hannolans, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
