common/uilib.py
branchtls-sprint
changeset 985 6a25c58a1c23
parent 980 59552ba2015f
parent 927 bfcc610c3d5e
child 1016 26387b836099
--- a/common/uilib.py	Mon Mar 02 20:44:14 2009 +0100
+++ b/common/uilib.py	Mon Mar 02 21:03:54 2009 +0100
@@ -179,7 +179,7 @@
     if text is None:
         return u''
     words = text.split()
-    text = ' '.join(words) # normalize spaces
+    text = u' '.join(words) # normalize spaces
     minlength = len(' '.join(words[:nbwords]))
     textlength = text.find('.', minlength) + 1
     if textlength == 0: # no point found