Default cahrset for 'de' to ISO8859-15/UTF-8?
Hello world,
I wonder if there are any plans to change the default charset for the 'de' locale of Mailman to anything else than ISO8859-1, because this charset cannot even represent our current currency symbol.
I have changed this myself for now (adding needed variables to mm_cfg.py, converting translated templates to the new charset, recreating pod files), but I think it _might_ be a good idea to change the default charset for all languages spoken mostly by countries which are in the 'Euro' currency zone to at least ISO8859-15.
I acknowledge there might be some difficult cases (for exmaple, in Switzerland, there are people who might be interested in running a mailing list with a 'de' or 'fr' locale, but they don't use the 'Euro' as currency there).
Cheers Stefan
Stefan Förster http://www.incertum.net/ Public Key: 0xBBE2A9E9 Insanity isn't a disease, it's a way of life
Stefan Förster wrote:
I wonder if there are any plans to change the default charset for the 'de' locale of Mailman to anything else than ISO8859-1, because this charset cannot even represent our current currency symbol.
There are no short term plans to change character sets, but if you were to publish a bazaar branch with your changes (on launchpad or elsewhere) and post a note about it to the mailman-developers@python.org list so that the possible implications such as for German speaking Swiss users could be discussed, we could easily pick your changes up.
Longer term, Mailman is moving to full unicode internally and utf-8 encoding.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
- Mark Sapiro <mark@msapiro.net> wrote:
Stefan Förster wrote:
I wonder if there are any plans to change the default charset for the 'de' locale of Mailman to anything else than ISO8859-1, because this charset cannot even represent our current currency symbol.
There are no short term plans to change character sets, but if you were to publish a bazaar branch with your changes (on launchpad or elsewhere) and post a note about it to the mailman-developers@python.org list so that the possible implications such as for German speaking Swiss users could be discussed, we could easily pick your changes up.
I don't have any idea what you mean by "Bazaar branch", but I will look into the mailman-developers archive and I found the launchpad resository for Mailman.
Longer term, Mailman is moving to full unicode internally and utf-8 encoding.
That's good news.
Cheers Stefan
Stefan Förster http://www.incertum.net/ Public Key: 0xBBE2A9E9 Mac OS X ate my ~/.signature.
Stefan Förster wrote:
I don't have any idea what you mean by "Bazaar branch", but I will look into the mailman-developers archive and I found the launchpad resository for Mailman.
If you go to the code page at <https://code.launchpad.net/mailman>, you will see the 3 current main branches (2.1, 2.2 and 3.0) and a number of other branches based on these. These are all Bazaar branches.
Bazaar is a distributed version control system. See <http://bazaar-vcs.org/>.
Mailman's code development was moved from the prior SourceForge SVN repository to Bazaar on Launchpad in June of 2007.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hello Stefan,
Stefan Förster-2 wrote:
Hello world,
I wonder if there are any plans to change the default charset for the 'de' locale of Mailman to anything else than ISO8859-1, because this charset cannot even represent our current currency symbol.
I have changed this myself for now (adding needed variables to mm_cfg.py, converting translated templates to the new charset, recreating pod files)
I am Romanian and want MM to use utf-8 encoding because iso-8859-2 (current MM charset for Romanian) is not commonly used due its wrong display of ş and ţ letters.
I would really appreciate if you would tell us what changes you have made to your MM instance so German can have utf-8 encoding.
I have tried changing only the line in mm_cfg.py/Defaults.py add langauge ("Romanian", ....... charset="utf-8") but that's not enough.
After I make this change I end up with stuck emails (MM doesn't deliver them any more).
Thank you in advance and hope to hear from you soon Tibi
P.S. My MM version is 2.1.9
View this message in context: http://www.nabble.com/Default-cahrset-for-%27de%27-to-ISO8859-15-UTF-8--tp19... Sent from the Mailman - Users mailing list archive at Nabble.com.
tct13 wrote:
I am Romanian and want MM to use utf-8 encoding because iso-8859-2 (current MM charset for Romanian) is not commonly used due its wrong display of s and t letters.
I would really appreciate if you would tell us what changes you have made to your MM instance so German can have utf-8 encoding.
I have tried changing only the line in mm_cfg.py/Defaults.py add langauge ("Romanian", ....... charset="utf-8") but that's not enough.
You also have to use iconv or something similar to transliterate messages/ro/LC-MESSAGES/mailman.po and templates/ro/* from iso-8859-2 to utf-8 and change the charset= parameter on the Content-Type: header in messages/ro/LC-MESSAGES/mailman.po and then use msgfmt or Mailman's bin/msgfmt.py to update messages/ro/LC-MESSAGES/mailman.mo from messages/ro/LC-MESSAGES/mailman.po.
After I make this change I end up with stuck emails (MM doesn't deliver them any more).
If you check Mailman's error log, you'll probably find uncaught exceptions due to trying to process iso-8859-2 templates and/or messages as utf-8.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Tue, 2008-11-04 at 13:36 -0800, Mark Sapiro wrote:
tct13 wrote:
I am Romanian and want MM to use utf-8 encoding because iso-8859-2 (current MM charset for Romanian) is not commonly used due its wrong display of s and t letters.
I would really appreciate if you would tell us what changes you have made to your MM instance so German can have utf-8 encoding.
I have tried changing only the line in mm_cfg.py/Defaults.py add langauge ("Romanian", ....... charset="utf-8") but that's not enough.
You also have to use iconv or something similar to transliterate messages/ro/LC-MESSAGES/mailman.po and templates/ro/* from iso-8859-2 to utf-8 and change the charset= parameter on the Content-Type: header in messages/ro/LC-MESSAGES/mailman.po and then use msgfmt or Mailman's bin/msgfmt.py to update messages/ro/LC-MESSAGES/mailman.mo from messages/ro/LC-MESSAGES/mailman.po.
After I make this change I end up with stuck emails (MM doesn't deliver them any more).
If you check Mailman's error log, you'll probably find uncaught exceptions due to trying to process iso-8859-2 templates and/or messages as utf-8.
Thank you, it worked! Now we have utf-8 encoding and it's cool. ;-)
We would like to write a minitutor for changing the encoding in MM and a patch which can change this in the current dev version. I don't know a single Romanian who still uses iso-8859-2 standard.
I'll come back with references.
Thank you, Tibi
participants (4)
-
Mark Sapiro
-
Stefan Förster
-
tct13
-
Tibi Turbureanu