From f579f495cbca8b16282d1f0f61cc0162cc2c4a15 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Fri, 8 Jan 2010 15:56:39 +0000 Subject: [PATCH] Fix of issue 3480. svn: r13995 --- src/BasicUtils/_NameDisplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BasicUtils/_NameDisplay.py b/src/BasicUtils/_NameDisplay.py index d02924756..e40f2506e 100644 --- a/src/BasicUtils/_NameDisplay.py +++ b/src/BasicUtils/_NameDisplay.py @@ -352,7 +352,7 @@ class NameDisplay(object): d_keys.sort(_make_cmp) # reverse sort by ikeyword for (code, ikeyword) in d_keys: exp, keyword, ikeyword = d[code] - ikeyword = unicode(ikeyword, "utf8") + #ikeyword = unicode(ikeyword, "utf8") format_str = format_str.replace(ikeyword, "%"+ code) format_str = format_str.replace(ikeyword.title(), "%"+ code) format_str = format_str.replace(ikeyword.upper(), "%"+ code.upper())