On 9/10/24 01:08, Christian Buser via Mailman-Users wrote:

I’ll let the provider know about your answer, but I have an additional question 
here.

The list’s language on that cPanel page is set to German (preferred_language), 
available_languages are set to German, French and English. Should that not also 
cover non-ascii charcters in the „From:“-header?


I'm not sure about cPanel, but in MM 2.1.39 as distributed by the GNU Mailman project, if the list's preferred language is German, its character set is iso-8859-1, so I don't know what the issue is.


Am 10.09.2024 um 02:55 schrieb Mark Sapiro <[email protected]>:

The log I received contains tracebacks like
```
...
admin(24054):   File "/usr/lib64/python2.7/email/utils.py", line 168, in 
getaddresses
admin(24054):     fieldvalues = [unicode(v) for v in fieldvalues]
admin(24054): UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in 
position 8: ordinal not in range(128)


The above is where the error occurs, but this is apparently an older version of Python. The code in email/utils.py in Python 2.7.18 contains nothing like

fieldvalues = [unicode(v) for v in fieldvalues]

In any case, the byte 0xe4in iso-8859-1 is 'ä'

--
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/[email protected]/
   https://mail.python.org/archives/list/[email protected]/
Member address: [email protected]

Reply via email to