From 1dab3b879ee444ac1e61cba0aed9b80877da0e02 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 --- gramps/src/latin_utf8.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/src/latin_utf8.py b/gramps/src/latin_utf8.py index fa1eac682..3a1b2693a 100644 --- a/gramps/src/latin_utf8.py +++ b/gramps/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