From a19abb267fccfd18c7da6c19b522ab3e23e973ec Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Sat, 8 May 2010 14:30:01 +0000 Subject: [PATCH] Fix of issue 3935. Wrong encoding in Windows. svn: r15360 --- src/Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.py b/src/Utils.py index e72369d35..82deefbdf 100644 --- a/src/Utils.py +++ b/src/Utils.py @@ -1354,7 +1354,7 @@ def navigation_label(db, nav_type, handle): label = " ".join(label.split()) # When strings are cut, make sure they are unicode #otherwise you may end of with cutting within an utf-8 sequence - label = get_unicode_path(label) + label = unicode(label) if len(label) > 40: label = label[:40] + "..."