| From: | ilmari(at)ilmari(dot)org (Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?=) |
|---|---|
| To: | Magnus Hagander <magnus(at)hagander(dot)net> |
| Cc: | PostgreSQL WWW list <pgsql-www(at)postgresql(dot)org> |
| Subject: | Re: Further UTF8/MIME fixes for the commitfest app |
| Date: | 2017-03-02 01:41:47 |
| Message-ID: | d8j1sug5uas.fsf@dalvik.ping.uio.no |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-www |
Hi again,
ilmari(at)ilmari(dot)org (Dagfinn Ilmari Mannsker) writes:
> #2 MIME-decodes headers received from the mailing list archive JSON API
[ ]
> Note that the MIME decoding only works properly if running under Python
> 3; the Python 2 version of email.header.decode_header() has broken
> detection of the end of encoded-words.
I just noticed that the mailing list archive suffers from the same
problem, and not for all MIME-encoded headers, only the ones affected by
the above bug. Switching load_message.py to using Python 3 (and running
reparse_message.py) might be enough to fix it.
Cheers,
ilmari
--
- Twitter seems more influential [than blogs] in the 'gets reported in
the mainstream press' sense at least. - Matt McLeod
- That'd be because the content of a tweet is easier to condense down
to a mainstream media article. - Calle Dybedahl
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fabien COELHO | 2017-03-02 10:50:15 | Re: [pgsql-www] Small issue in online devel documentation build |
| Previous Message | Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?= | 2017-03-01 22:35:07 | Further UTF8/MIME fixes for the commitfest app |