[Mailman-i18n] Charset of Plaintext Templates

Mark Sapiro mark at msapiro.net
Wed Jul 13 13:17:13 EDT 2016


On 07/13/2016 03:56 AM, Bernhard Schmidt wrote:
> 
> I've just noticed that Mailman sends wrongly encoded German mails for
> admin approval of subscriptions that looks like this
...
> We have a lot of different encodings even within the same language and
> filetype
> 
> mailman/templates/de (1) % file *
> adminaddrchgack.txt:     UTF-8 Unicode text
> admindbdetails.html:     HTML document, ASCII text
> admindbpreamble.html:    HTML document, ASCII text
> admindbsummary.html:     HTML document, ASCII text
> adminsubscribeack.txt:   ASCII text, with no line terminators
> adminunsubscribeack.txt: ASCII text
> admlogin.html:           HTML document, ASCII text
> approve.txt:             ISO-8859 text
> archidxentry.html:       HTML document, ASCII text
> archidxfoot.html:        HTML document, ASCII text
> archidxhead.html:        HTML document, ASCII text
> archlistend.html:        ASCII text
> archliststart.html:      HTML document, ASCII text
> archtocentry.html:       HTML document, ASCII text
> archtoc.html:            HTML document, ASCII text
> archtocnombox.html:      HTML document, ASCII text
> article.html:            HTML document, ASCII text
> bounce.txt:              ISO-8859 text
> checkdbs.txt:            ISO-8859 text
> convert.txt:             ISO-8859 text
> cronpass.txt:            ISO-8859 text
> disabled.txt:            ISO-8859 text
> emptyarchive.html:       HTML document, ASCII text
> headfoot.html:           HTML document, ASCII text
> help.txt:                ISO-8859 text
> invite.txt:              ISO-8859 text
> listinfo.html:           HTML document, ASCII text
> masthead.txt:            UTF-8 Unicode text
> newlist.txt:             ISO-8859 text
> nomoretoday.txt:         UTF-8 Unicode text
> options.html:            HTML document, ASCII text
> postack.txt:             ASCII text
> postauth.txt:            ISO-8859 text
> postheld.txt:            ISO-8859 text
> private.html:            HTML document, ASCII text
> probe.txt:               UTF-8 Unicode text
> refuse.txt:              UTF-8 Unicode text
> roster.html:             HTML document, ASCII text
> subauth.txt:             UTF-8 Unicode text
> subscribeack.txt:        ISO-8859 text
> subscribe.html:          HTML document, ASCII text
> unsubauth.txt:           ASCII text
> unsub.txt:               ISO-8859 text
> userpass.txt:            ISO-8859 text
> verify.txt:              ISO-8859 text
> 
> I don't quite get the code, but it looks like at least *.txt should be
> ISO8859-1 at the moment.


Thank you for the report. As you surmise, all the .txt files should be
iso-8859-1 encoded, not utf-8. ASCII text is OK as that is a subset of
iso-8859-1. I have reported this at
<https://bugs.launchpad.net/mailman/+bug/1602779> and fixed it for the
next release.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-i18n mailing list