changeset 144:1f5a2312b215

fixed MoinMoinBugs/UnicodeDecodeErrorInInformationPage - eventlog code returned utf-8 strings imported from: moin--main--1.5--patch-146
author Florian Festi <Florian.Festi@trick.informatik.uni-stuttgart.de>
date Thu, 27 Oct 2005 11:46:33 +0000
parents 11df1156d432
children b11bb396654e
files MoinMoin/logfile/eventlog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/logfile/eventlog.py	Thu Oct 27 09:15:20 2005 +0000
+++ b/MoinMoin/logfile/eventlog.py	Thu Oct 27 11:46:33 2005 +0000
@@ -43,7 +43,7 @@
                     # Save those http headers in UPPERcase
                     values[key.upper()] = value
         # Encode values in a query string TODO: use more readable format
-        values = wikiutil.makeQueryString(values)
+        values = wikiutil.makeQueryString(values, want_unicode=True)
         self._add(u"%d\t%s\t%s\n" % (mtime_usecs, eventtype, values))
 
     def parser(self, line):