[Cdd-commits] r832 - cdd/trunk/webtools
CDD Subversion Commit
noreply at alioth.debian.org
Wed Jun 18 11:28:49 UTC 2008
Author: tille
Date: Wed Jun 18 11:28:49 2008
New Revision: 832
Modified:
cdd/trunk/webtools/cddtasktools.py
Log:
repr() solved the original UTF-8 problem! Many thanks to Enrico Zini!! Some output encoding problems remain, but I'll look after this before I'll ask for further help.
Modified: cdd/trunk/webtools/cddtasktools.py
==============================================================================
--- cdd/trunk/webtools/cddtasktools.py (original)
+++ cdd/trunk/webtools/cddtasktools.py Wed Jun 18 11:28:49 2008
@@ -104,7 +104,7 @@
# This function does the actual Markup call for any string with error checking
try:
- string = Markup(string)
+ string = Markup(repr(string))
except UnicodeDecodeError, errtxt:
print >> stderr, "----> %s UnicodeDecodeError in %s (lang='%s'): '%s'; ErrTxt: %s" % \
(elem, pkg, lang, string, errtxt)
More information about the Cdd-commits
mailing list