From William Durand to ~willdurand/public-inbox
Sorry for the delay, applied. Thanks!
From William Durand to ~willdurand/public-inbox
Applied, thanks!
From William Durand to ~willdurand/public-inbox
Applied, thanks!
From William Durand to ~willdurand/public-inbox
Applied, thanks!
From William Durand to ~sircmpwn/sr.ht-dev
Hi, I reported the issue on IRC but I thought it'd be best to start a thread about it: I canot export a patchset [1] because of an encoding error. The encoding error when exporting an mbox might be related to these bugs [2] [3]. From a quick look at the code, `format_mbox()` calls `msg.parsed().as_bytes()`, and `parsed()` [4] relies on `email.message_from_string()`. I wrote a small script to reproduce the issue [5]. If I replace `message_from_string()` with `message_from_bytes()` and (utf8) encode the `envelope`, everything seems to work as expected. ```
From William Durand to ~willdurand/public-inbox
Thanks!
From William Durand to ~willdurand/public-inbox
Thanks!
From William Durand to ~willdurand/public-inbox
Thanks!
From William Durand to ~willdurand/public-inbox
Thanks!
From William Durand to ~willdurand/public-inbox
Thanks!