[Mailman-i18n] Unicode in headers
Sun, 22 Sep 2002 14:52:08 +0900
Dan Ohnesorg wrote:
> Dne Sat, Sep 21, 2002 at 01:00:43PM -0400, Barry A. Warsaw napsal:
>> from email.Header import Header
>> h = Header(u'[P\xf6stal]', 'us-ascii')
>> s = str(h)
>>what would you expect the value of s to be?
> - are there only ASCII characters = OK let it be
> - are there only characters from locale preferred encoding = use locale
I like this idea but how do you define email's preferred language.
In mailman, it will be mm_cfg.DEFAULT_SERVER_LANGUAGE but ,,,
> - in other cases, use UTF.
I think UTF-8 is OK. Older MUA won't break.
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp