From 0bc6bba1618e9ef352bf21e6fd75623d5c1403d9 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 5 Nov 2002 05:30:06 +0000 Subject: [PATCH] Removed the 'replace' option on encoding. Caused exception svn: r1166 --- src/latin_utf8.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/latin_utf8.py b/src/latin_utf8.py index fa1eac682..3a1b2693a 100644 --- a/src/latin_utf8.py +++ b/src/latin_utf8.py @@ -37,7 +37,7 @@ else: def utf8_to_latin(s): y = UTF8String(s) try: - return y.encode("iso-8859-1",'replace') + return y.encode("iso-8859-1") except: return s