CVS: tmda-cgi Unicode.py,1.5,1.6
Jim Ramsay <[email protected]> Wed, 18 Feb 2004 07:10:50 -0800
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25846
Modified Files:
Unicode.py
Log Message:
Fixed base64 Decoding error (reported by Michael Toulouse, fix suggested by Tim Legant)
Index: Unicode.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/Unicode.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Unicode.py 20 Jun 2003 18:52:29 -0000 1.5
+++ Unicode.py 18 Feb 2004 15:10:48 -0000 1.6
@@ -111,7 +111,7 @@
# Decode string to Unicode
try:
Uni = Decoder(Str, errors = Errors)[0]
- except TypeError:
+ except:
Uni = Decoder(Str)[0]
# Encode for UTF-8