* Martin Michlmayr <[EMAIL PROTECTED]> [2005-06-11 23:26]:
> I just got the following exception. The (bzipped) feed is attached.
Here's a patch:
--- html2text.py~ 2005-06-12 11:39:04.343512464 +0100
+++ html2text.py 2005-06-12 11:39:15.527812192 +0100
@@ -151,7 +151,7 @@
self.lastWasNL = 0
def outtextf(self, s):
- if type(s) is type(''): s = codecs.utf_8_decode(s)[0]
+ if type(s) is type(''): s = codecs.utf_8_decode(s, "replace")[0]
self.outtext += s
def close(self):
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]