Re: [Mailman-Users] UTF-8 and digests...
On 11/30/2018 10:33 AM, Mark Sapiro wrote: Plain text digests are encoded in Mailman's character set for the list's preferred_language. For English, this is us-ascii unless you've changed it. Thus, non-ascii unicodes will be rendered as '?' in the plain digest. You can change Mailman's character set for English to UTF-8 by putting add_language('en', 'English (USA)', 'utf-8', 'ltr') in mm_cfg.py but this has other side effects. Most importantly, the Python email library encodes utf-8 message bodies as base64. this makes it difficult to find messages in mailboxes with tools like grep. Thank you for the clarification Mark. That accounts for what I'm seeing. -- Grant. . . . unix || die smime.p7s Description: S/MIME Cryptographic Signature -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] UTF-8 and digests...
On 11/30/18 9:18 AM, Grant Taylor via Mailman-Users wrote: > Is it expected that Mailman will preserve UTF-8 (punctuation symbols) in > non-MIME digests? It depends. > Is this a known limitation of non-MIME digests? Or is it possibly a > symptom of a problem? Plain text digests are encoded in Mailman's character set for the list's preferred_language. For English, this is us-ascii unless you've changed it. Thus, non-ascii unicodes will be rendered as '?' in the plain digest. You can change Mailman's character set for English to UTF-8 by putting add_language('en', 'English (USA)', 'utf-8', 'ltr') in mm_cfg.py but this has other side effects. Most importantly, the Python email library encodes utf-8 message bodies as base64. this makes it difficult to find messages in mailboxes with tools like grep. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] UTF-8 and digests...
Is it expected that Mailman will preserve UTF-8 (punctuation symbols) in non-MIME digests? I'm having errors reported to me from (non-MIME) digest subscribers to lists mailing lists. Is this a known limitation of non-MIME digests? Or is it possibly a symptom of a problem? -- Grant. . . . unix || die smime.p7s Description: S/MIME Cryptographic Signature -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org