[Mailman-Developers] Re: [Mailman-checkins] mailman/Mailman/Handlers CookHeaders.py, 2.33.2.3, 2.33.2.4

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Mon Dec 15 19:21:51 EST 2003


Hi,

Test installation at my site gives this error. (Python 2.2.3)
Note that mlist.descriptions is 8bit on with charset euc-jp.


  File "/usr/local/mailman2/Mailman/Handlers/CookHeaders.py", line 171,
in process
    listid_h = uheader(mlist, u'"' + mlist.description + u'"', 'List-Id')
UnicodeError: ASCII decoding error: ordinal not in range(128)

Dec 16 09:13:22 2003 (81898) SHUNTING:
1071533601.574297+1ee7c12b04ff84333636fc5
5d1d0e4a7d916797e


Barry Warsaw wrote:
> On Sun, 2003-12-14 at 19:08, Tokio Kikuchi wrote:
> 
> 
>>I think this one is not necessary if the encoding is non-ascii.
>>Any special characters should be properly escaped.
> 
> 
> But if you look a the way uheader() is used here, it always turns the
> description string into a unicode, so Header won't RFC 2047 quote the
> string.
> 
> -Barry
> 
> 
> 
> _______________________________________________
> Mailman-Developers mailing list
> Mailman-Developers at python.org
> http://mail.python.org/mailman/listinfo/mailman-developers
> 
> 

-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/




More information about the Mailman-Developers mailing list