diff --git a/src/BaseDoc.py b/src/BaseDoc.py index 17192e0c9..b1513ec72 100644 --- a/src/BaseDoc.py +++ b/src/BaseDoc.py @@ -1677,6 +1677,8 @@ class TextDoc(object): is text here not overwrite this method if this complexity is not needed. """ + #unicode text most be sliced correctly + text=unicode(text) FIRST = 0 LAST = 1 tagspos = {}