* src/plugins/WriteGeneWeb.py: use 'replace' for 'iso-8859-1' encoding

svn: r5144
This commit is contained in:
Don Allingham 2005-08-30 03:01:00 +00:00
parent 2feb950950
commit 12e95f2bf8
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2005-08-29 Don Allingham <don@gramps-project.org> 2005-08-29 Don Allingham <don@gramps-project.org>
* src/plugins/WriteGeneWeb.py: use 'replace' for 'iso-8859-1' encoding
* src/po/fr.po: fix named parameter * src/po/fr.po: fix named parameter
* src/ImageSelect.py: fix note media object added from a gallery * src/ImageSelect.py: fix note media object added from a gallery
* src/po/template.po: updated translation template * src/po/template.po: updated translation template

View File

@ -561,7 +561,7 @@ class GeneWebWriter:
return retval return retval
def iso8859(self,s): def iso8859(self,s):
return s.encode('iso-8859-1') return s.encode('iso-8859-1','replace')
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #