[Mailman-Users] Digest message header filtering

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Thu Feb 6 01:08:14 CET 2003


Hi,

Kenneth Bruyninckx wrote:
> Hello,
> 
> I followed your advice and added the line to mm_cfg.py in mailman/Mailman
> I must say that I received an error when adding this line, but after I
> removed the underscore from (_('English... it was accepted.

Ah, _() should have been escaped. Try this.
def _(s):
     return s
LC_DESCRIPTIONS['en'] = (_('English (USA)'), 'iso-8859-1')

> 
> But, my digest still does not show the charset info.
> What could I have done wrong ?

Did you restart mailman qrunner by bin/mailmanctl restart ?

> 
> 
> 
> 
> kind regards,
> 
> Kenneth.
> 
> ----- Original Message -----
> From: "Tokio Kikuchi" <tkikuchi at is.kochi-u.ac.jp>
> To: <kenneth at drosera.be>
> Cc: <Mailman-Users at python.org>
> Sent: Friday, January 31, 2003 12:47 PM
> Subject: Re: [Mailman-Users] Digest message header filtering
> 
> 
> 
>>Hi,
>>
>>I am Cc-ing this reply to the list.
>>You can always change your preferred charset by adding following
>>lines in your mm_cfg.py.
>>
>>LC_DESCRIPTIONS['en'] = (_('English (USA)'), 'iso-8859-1')
>>
>>This is useful if your list's main language is English but
>>majority of users are from Latin-1 countries. Plain text
>>digest will go out with latin characters un-replaced, I believe.
>>
>>kenneth at drosera.be wrote:
>>
>>>Hello,
>>>
>>>I just read your reply to a question on the mail-users list concerning
>>
> the
> 
>>>extra headers.
>>>What updates/patches are available in the CVS directory ? I quickly had
>>
> a look
> 
>>>but was unable to find much and even less that I understood.
>>>But ok, I will also upgrade to the latest CVS on a test machine first.
>>>
>>>Since your name pops up several times on the list I am contacting you
>>
> directly
> 
>>>for a question of mine that remained unanswered.
>>>How did you tackle the character-encoding problem of "us-ascii" for
>>
> digests ?
> 
>>>Where do I have to make changes ?
>>>
>>>For your information I run MM2.1 + qmail + demime.
>>>I know mails using "iso-8859-1" pass demime with flying colours, but
>>
> once they
> 
>>>end up in a digest (which is us-ascii :-( ) all non-us-ascii characters
>>>get "transformed".
>>>
>>>
>>>kind regards,
>>>
>>>Kenneth Bruyninckx.
>>>
>>>
-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/




More information about the Mailman-Users mailing list