Hi!

I tried to get german Umlauts, MIME-embedded in mails, to work
properly, and failed:
================================8<-------------------------------
jbglaw@min:~/debian-pkg$ diff -u mailman-2.0.6/Mailman/Archiver/HyperArch.py 
mailman-2.0.6-jbglaw/Mailman/Archiver/HyperArch.py                               --- 
mailman-2.0.6/Mailman/Archiver/HyperArch.py Mon Nov 13 22:50:05 2000
+++ mailman-2.0.6-jbglaw/Mailman/Archiver/HyperArch.py  Mon Oct  1 16:24:38 2001
@@ -57,10 +57,28 @@
 
 
 
 def html_quote(s):
-    repls = ( ('&', '&amp;'),
-             ("<", '&lt;'),
-             (">", '&gt;'),
-             ('"', '&quot;'))
+    repls = ( ( '&',   '&amp;'         ),
+             ( '<',    '&lt;'          ),
+             ( '>',    '&gt;'          ),
+             ( '=20',  ' '             ),
+             ( '=3D',  '='             ),
+             ( '=E4',  '&auml;'        ),
+             ( '=F6',  '&ouml;'        ),
+             ( '=FC',  '&uuml;'        ),
+             ( '=DF',  '&szlig;'       ),
+             ( '=C4',  '&Auml;'        ),
+             ( '=F6',  '&Ouml;'        ),
+             ( '=DC',  '&Uuml;'        ),
+             ( '=E9',  '&eacute;'      ),
+             ( '�',    '&auml;'        ),
+             ( '�',    '&ouml;'        ),
+             ( '�',    '&uuml;'        ),
+             ( '�',    '&szlig;'       ),
+             ( '�',    '&Auml;'        ),
+             ( '�',    '&Ouml;'        ),
+             ( '�',    '&Uuml;'        ),
+             ( '�',    '&eacute;'      ),
+             ( '"',    '&quot;'        ))
     for thing, repl in repls:
        s = string.replace(s, thing, repl)
     return s
---------------------------------------------->8================

After I applied the above patch (and I really have absolutely
no clue about python...), mailman archived all mails exactly 
as it did before... What do I miss?

MfG, JBG

-- 
Jan-Benedict Glaw . [EMAIL PROTECTED] . +49-172-7608481

_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers

Reply via email to