diff --git a/gramps/gui/widgets/undoableentry.py b/gramps/gui/widgets/undoableentry.py index af20d4e16..315cc7a0e 100644 --- a/gramps/gui/widgets/undoableentry.py +++ b/gramps/gui/widgets/undoableentry.py @@ -68,7 +68,7 @@ class UndoableInsertEntry(object): class UndoableDeleteEntry(object): """something that has been deleted from our textbuffer""" def __init__(self, editable, start, end): - self.text = editable.get_chars(start, end).encode('utf-8') + self.text = editable.get_chars(start, end) self.start = start self.end = end # need to find out if backspace or delete key has been used