[Cdd-commits] r975 - cdd/trunk/webtools
CDD Subversion Commit
noreply at alioth.debian.org
Sat Jul 12 15:36:30 UTC 2008
Author: tille
Date: Sat Jul 12 15:36:30 2008
New Revision: 975
Modified:
cdd/trunk/webtools/cddtasktools.py
Log:
The problem was not caused by the description but by the task name itself which might be UTF-8 for sure.
On th eother hand: Petter THIS task name is to long and will probably disturb the output. I'll render
manually in some minutes and then lets have a look and find a better name.
Modified: cdd/trunk/webtools/cddtasktools.py
==============================================================================
--- cdd/trunk/webtools/cddtasktools.py (original)
+++ cdd/trunk/webtools/cddtasktools.py Sat Jul 12 15:36:30 2008
@@ -457,7 +457,8 @@
dep = None
for key in stanza:
if key == 'Task':
- self.metapkg.PrintedName = stanza['task']
+ # also the task name might be utf-8 encoded
+ self.metapkg.PrintedName = unicode(stanza['task'], 'utf-8')
continue
if key == 'Description':
(short, long) = SplitDescription(stanza['description'])
More information about the Cdd-commits
mailing list