Re: [Mailman-Users] Encoding issues when importing archives

2018-05-22 Thread Stephen J. Turnbull
Mark Sapiro writes: > > content = content.encode(decoding) > > > > UnicodeEncodeError: 'gb2312' codec can't encode character '\ufffd' in > > position 3131: illegal multibyte sequence > > > > Apparently the offending attachments are specified as gb2312 (a common > > Chinese encoding). >

Re: [Mailman-Users] Encoding issues when importing archives

2018-05-15 Thread Mark Sapiro
On 5/14/18 2:16 PM, Eric Abrahamsen wrote: > I'm recreating some old lists I had in a Mailman 2 installation, and > trying to import the old mboxes into Hyperkitty. This is not the appropriate list for Mailman 3. mailman-us...@mailman3.org

[Mailman-Users] Encoding issues when importing archives

2018-05-15 Thread Eric Abrahamsen
I'm recreating some old lists I had in a Mailman 2 installation, and trying to import the old mboxes into Hyperkitty. The lists were on Chinese-related subjects, and we've got both messages that contain Chinese characters, and attachments that have Chinese filenames and contents. The import proce