[Mailman-Users] iso-8859-8-i messages goes to the shunt directory
Tokio Kikuchi
tkikuchi at is.kochi-u.ac.jp
Mon Nov 7 13:07:50 CET 2005
lkolchin at univ.haifa.ac.il wrote:
> Hello All,
>
> I have the following of problem:
>
> When message sent to the list in Hebrew Language in iso-8859-8-i encoding, it doesn't sent and goes directly to /var/lib/mailman/qfiles/shunt,
> so I have to run /usr/lib/mailman/bin/unshunt manually to release these messages.
> But then these messages released, the subject line of these messages is empty.
>
> Here are some headers of these kind of messages:
>
> Content-Type: text/html;
> charset="iso-8859-8-i"
> Content-Transfer-Encoding: quoted-printable
> Subject: =?iso-8859-8-i?B?Rnc6IPf46eDkIODn+OXw5CDs8OXx8untIOz08Okg5OTu+ODkIA==?=
>
> What's the problem here and how can I solve it?
It looks like python official codecs don't support RFC-1556
bi-directional handling of Arabic and Hebrew charsets. I really don't
know how we should solve this but how about this following patch?
You may also want to add your language description in mm_cfg.py (see
Defaults.py for the format).
% diff -u paths.py.orig paths.py
--- paths.py.orig Mon Nov 7 20:38:34 2005
+++ paths.py Mon Nov 7 20:51:21 2005
@@ -58,3 +58,12 @@
# changes this.
import korean
import korean.aliases
+# Arabic and Hebrew encoding aliases
+import encodings.aliases
+encodings.aliases.aliases.update({
+ 'iso_8859_6_e': 'iso8859_6',
+ 'iso_8859_6_i': 'iso8859_6',
+ 'iso_8859_8_e': 'iso8859_8',
+ 'iso_8859_8_i': 'iso8859_8',
+})
+
--
Tokio Kikuchi tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/
More information about the Mailman-Users
mailing list