From 12e95f2bf8074dca88250c1294674362a52e85d3 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 30 Aug 2005 03:01:00 +0000 Subject: [PATCH] * src/plugins/WriteGeneWeb.py: use 'replace' for 'iso-8859-1' encoding svn: r5144 --- gramps2/ChangeLog | 1 + gramps2/src/plugins/WriteGeneWeb.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 84dbea596..cdd59c822 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2005-08-29 Don Allingham + * src/plugins/WriteGeneWeb.py: use 'replace' for 'iso-8859-1' encoding * src/po/fr.po: fix named parameter * src/ImageSelect.py: fix note media object added from a gallery * src/po/template.po: updated translation template diff --git a/gramps2/src/plugins/WriteGeneWeb.py b/gramps2/src/plugins/WriteGeneWeb.py index 705a3b889..66c2c66c1 100644 --- a/gramps2/src/plugins/WriteGeneWeb.py +++ b/gramps2/src/plugins/WriteGeneWeb.py @@ -561,7 +561,7 @@ class GeneWebWriter: return retval def iso8859(self,s): - return s.encode('iso-8859-1') + return s.encode('iso-8859-1','replace') #------------------------------------------------------------------------- #