From jorohr at gmail.com Mon Apr 24 17:54:24 2017 From: jorohr at gmail.com (Johannes Rohr) Date: Mon, 24 Apr 2017 21:54:24 -0000 Subject: [Bug 1685946] [NEW] Mismatch between declared and actual encoding in mail notifications and web pages Message-ID: <20170424215425.19772.70264.malonedeb@soybean.canonical.com> Public bug reported: This is about 2.1.22 in Ubuntu Yakkety. mailman is configured with German (de) as default language and the templates for German and English are generated. For some reason, the notifications and web pages in German are all encoded in latin-1, while the declared encoding both in mail notification as well as in web pages served is utf-8. This result in broken display of umlauts until one manually changes the encoding. See https://lists.uferwerk.org/cgi-bin/mailman/listinfo/ I have tried to manually enforce UTF-8 by adding add_language('en', 'English (USA)', 'utf-8', 'ltr') add_language('de', 'Deutsch', 'utf-8', 'ltr') We see this misbehaviour since we migrated mailman from one server running Ubuntu 14.4 with mailman 1:2.1.14-3ubuntu0.4 to another server running 16.10 with mailman 1:2.1.22-1ubuntu0.1 On the old server, it worked just fine without any additional tweaking and on the new server, not tweaking seems to change anything at all. In the mailman error log I see recurring error messages of the sort: Apr 24 15:10:19 2017 (898) list: mitglieder: can't decode "Liste f?r Mitglieder der Uferwerk e.G." as utf-8 Apr 24 15:10:19 2017 (901) list: mitglieder: can't decode "Liste f?r Mitglieder der Uferwerk e.G." as utf-8 Apr 24 15:10:20 2017 (901) list: mitglieder: can't decode "Liste f?r Mitglieder der Uferwerk e.G." as utf-8 I am not sure why these descriptions were suddenly in latin-1 but I manually converted them to utf-8 now, restarted mailman, and the situation remains unchanged: Both the overview page and the mail notifications are in latin-1 while the headers declare that they are in utf-8, which results in broken rendering of the text ** Affects: mailman Importance: Undecided Status: New ** Affects: mailman (Ubuntu) Importance: Undecided Status: New ** Also affects: mailman (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1685946 Title: Mismatch between declared and actual encoding in mail notifications and web pages To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1685946/+subscriptions From jorohr at gmail.com Mon Apr 24 17:51:06 2017 From: jorohr at gmail.com (Johannes Rohr) Date: Mon, 24 Apr 2017 21:51:06 -0000 Subject: [Bug 1685945] [NEW] Mismatch between declared and actual encoding in mail notifications and web pages Message-ID: <20170424215106.16125.4058.malonedeb@wampee.canonical.com> Public bug reported: See https://lists.uferwerk.org/cgi-bin/mailman/listinfo/ I have tried to manually enforce UTF-8 by adding ```python add_language('en', 'English (USA)', 'utf-8', 'ltr') add_language('de', 'Deutsch', 'utf-8', 'ltr') ``` We see this misbehaviour since we migrated mailman from one server running Ubuntu 14.4 with mailman 1:2.1.14-3ubuntu0.4 to another server running 16.10 with mailman 1:2.1.22-1ubuntu0.1 On the old server, it worked just fine without any additional tweaking and on the new server, not tweaking seems to change anything at all. In the mailman error log I see recurring error messages of the sort: ``` Apr 24 15:10:19 2017 (898) list: mitglieder: can't decode "Liste f?r Mitglieder der Uferwerk e.G." as utf-8 Apr 24 15:10:19 2017 (901) list: mitglieder: can't decode "Liste f?r Mitglieder der Uferwerk e.G." as utf-8 Apr 24 15:10:20 2017 (901) list: mitglieder: can't decode "Liste f?r Mitglieder der Uferwerk e.G." as utf-8 ``` I am not sure why these descriptions were suddenly in latin-1 but I manually converted them to utf-8 now, restarted mailman, and the situation remains unchanged: Both the overview page and the mail notifications are in latin-1 while the headers declare that they are in utf-8, which results in broken rendering of the text ** Affects: mailman Importance: Undecided Status: New -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1685945 Title: Mismatch between declared and actual encoding in mail notifications and web pages To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1685945/+subscriptions From jorohr at gmail.com Mon Apr 24 17:52:58 2017 From: jorohr at gmail.com (Johannes Rohr) Date: Mon, 24 Apr 2017 21:52:58 -0000 Subject: [Bug 1685945] Re: Mismatch between declared and actual encoding in mail notifications and web pages References: <20170424215106.16125.4058.malonedeb@wampee.canonical.com> Message-ID: <20170424215258.16281.22343.malone@wampee.canonical.com> sorry, please close, I'll resubmit, because the text is incomplete in the beginning -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1685945 Title: Mismatch between declared and actual encoding in mail notifications and web pages To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1685945/+subscriptions From mark at msapiro.net Mon Apr 24 20:57:20 2017 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 25 Apr 2017 00:57:20 -0000 Subject: [Bug 1685946] Re: Mismatch between declared and actual encoding in mail notifications and web pages References: <20170424215425.19772.70264.malonedeb@soybean.canonical.com> Message-ID: <20170425005721.20104.57187.launchpad@soybean.canonical.com> ** No longer affects: mailman -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1685946 Title: Mismatch between declared and actual encoding in mail notifications and web pages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mailman/+bug/1685946/+subscriptions From mark at msapiro.net Mon Apr 24 20:56:19 2017 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 25 Apr 2017 00:56:19 -0000 Subject: [Bug 1685945] Re: Mismatch between declared and actual encoding in mail notifications and web pages References: <20170424215106.16125.4058.malonedeb@wampee.canonical.com> Message-ID: <20170425005619.1141.54293.launchpad@gac.canonical.com> ** Changed in: mailman Status: New => Invalid -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1685945 Title: Mismatch between declared and actual encoding in mail notifications and web pages To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1685945/+subscriptions From futatuki at poem.co.jp Wed Apr 26 01:49:25 2017 From: futatuki at poem.co.jp (Yasuhito FUTATSUKI at POEM) Date: Wed, 26 Apr 2017 05:49:25 -0000 Subject: [Merge] lp:~futatuki/mailman/2.1-ja-translation into lp:mailman/2.1 Message-ID: <20170426054922.25243.45305.launchpad@ackee.canonical.com> Yasuhito FUTATSUKI at POEM has proposed merging lp:~futatuki/mailman/2.1-ja-translation into lp:mailman/2.1. Requested reviews: Mailman Coders (mailman-coders) For more details, see: https://code.launchpad.net/~futatuki/mailman/2.1-ja-translation/+merge/323207 Update Japanese translation corresponding to lp:mailman/2.1 rev 1699 -- Your team Mailman Coders is requested to review the proposed merge of lp:~futatuki/mailman/2.1-ja-translation into lp:mailman/2.1. -------------- next part -------------- A non-text attachment was scrubbed... Name: review-diff.txt Type: text/x-diff Size: 8516 bytes Desc: not available URL: From noreply at launchpad.net Wed Apr 26 10:59:16 2017 From: noreply at launchpad.net (noreply at launchpad.net) Date: Wed, 26 Apr 2017 14:59:16 -0000 Subject: [Merge] lp:~futatuki/mailman/2.1-ja-translation into lp:mailman/2.1 In-Reply-To: <20170426054922.25243.45305.launchpad@ackee.canonical.com> Message-ID: <20170426145914.18637.58352.launchpad@ackee.canonical.com> The proposal to merge lp:~futatuki/mailman/2.1-ja-translation into lp:mailman/2.1 has been updated. Status: Needs review => Merged For more details, see: https://code.launchpad.net/~futatuki/mailman/2.1-ja-translation/+merge/323207 -- Your team Mailman Coders is requested to review the proposed merge of lp:~futatuki/mailman/2.1-ja-translation into lp:mailman/2.1. From 266166 at bugs.launchpad.net Sun Apr 30 09:40:51 2017 From: 266166 at bugs.launchpad.net (=?utf-8?q?Jan_Pokorn=C3=BD?=) Date: Sun, 30 Apr 2017 13:40:51 -0000 Subject: [Bug 266166] Re: Broken PGP/MIME signature of messages with attachments References: <20080905192914.27052.99171.launchpad@forster.canonical.com> Message-ID: <20170430134052.22759.4839.malone@wampee.canonical.com> The same behaviour observed with 2.1.12. Any idea whether Mailman 3 fixes this issue? -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/266166 Title: Broken PGP/MIME signature of messages with attachments To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/266166/+subscriptions From mark at msapiro.net Sun Apr 30 13:20:32 2017 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 30 Apr 2017 17:20:32 -0000 Subject: [Bug 266166] Re: Broken PGP/MIME signature of messages with attachments References: <20080905192914.27052.99171.launchpad@forster.canonical.com> Message-ID: <20170430172032.23122.29794.malone@wampee.canonical.com> In comment #9 above, 815297 is a Sourceforge bug number. The issue in launchpad is https://bugs.launchpad.net/mailman/+bug/265967 Regarding comment #11 and Mailman 3, Mailman 3 uses Python 3 and the email package, which is the source of this issue, has been almost completely rewritten for Python 3. One of the goals of the rewrite was to make the result of parsing/flattening match the original text, so I suspect this is fixed in MM 3, but I'm not certain. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/266166 Title: Broken PGP/MIME signature of messages with attachments To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/266166/+subscriptions