diff --git a/gramps/gen/svn_revision.py b/gramps/gen/svn_revision.py index 3200b250a..3fba46a54 100644 --- a/gramps/gen/svn_revision.py +++ b/gramps/gen/svn_revision.py @@ -27,7 +27,7 @@ if sys.version_info[0] < 3: cuni = unicode else: def to_utf8(s): - return s.decode("utf-8") + return s.decode("utf-8", errors = 'replace') cuni = to_utf8 def get_svn_revision(path=""):