Use correct char set for command-line scripts
Bug #558167 reported by
trmac
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Medium
|
Mark Sapiro |
Bug Description
The command-line scripts in mailman-2.1.5 share the i18n
framework with the rest of mailman, but unlike the rest
of mailman,
mailman is not in control of the characer set used; it
should always
use the character set specified by the LC_CTYPE locale
category.
Currently on a system using e.g. LANG=cs_CZ.UTF-8 the
Czech (cs) translation is selected, but the output uses the
character set of the translation (ISO 8859-2), not UTF-8.
The attached patch (roughly against 2.1.5) adds
Mailman.i18n.C_(),
which works like _(), except that the output is in the
LC_CTYPE-specified encoding, and modifies all command-line
utilities to use it.
Related branches
Changed in mailman: | |
assignee: | nobody → Mark Sapiro (msapiro) |
importance: | Undecided → Medium |
milestone: | none → 2.1.21 |
status: | New → Fix Committed |
Changed in mailman: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The file mailman- 2.1.5-LC_ CTYPE.patch was added: Honor LC_CTYPE in command-line utilities