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 = ( ('&', '&'),
- ("<", '<'),
- (">", '>'),
- ('"', '"'))
+ repls = ( ( '&', '&' ),
+ ( '<', '<' ),
+ ( '>', '>' ),
+ ( '=20', ' ' ),
+ ( '=3D', '=' ),
+ ( '=E4', 'ä' ),
+ ( '=F6', 'ö' ),
+ ( '=FC', 'ü' ),
+ ( '=DF', 'ß' ),
+ ( '=C4', 'Ä' ),
+ ( '=F6', 'Ö' ),
+ ( '=DC', 'Ü' ),
+ ( '=E9', 'é' ),
+ ( '�', 'ä' ),
+ ( '�', 'ö' ),
+ ( '�', 'ü' ),
+ ( '�', 'ß' ),
+ ( '�', 'Ä' ),
+ ( '�', 'Ö' ),
+ ( '�', 'Ü' ),
+ ( '�', 'é' ),
+ ( '"', '"' ))
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