changeset 1255:d1930ce1cc0f

Oops, classic unicode bug in mergeDiff.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Thu, 10 Aug 2006 23:03:19 +0200
parents 7686daa0249c
children f3c8f750c1fe
files MoinMoin/xmlrpc/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/xmlrpc/__init__.py	Wed Aug 09 20:32:25 2006 +0200
+++ b/MoinMoin/xmlrpc/__init__.py	Thu Aug 10 23:03:19 2006 +0200
@@ -668,7 +668,7 @@
 
         # write page
         try:
-            currentpage.saveText(newcontents.encode("utf-8"), last_remote_rev, comment=comment)
+            currentpage.saveText(newcontents.decode("utf-8"), last_remote_rev, comment=comment)
         except PageEditor.EditConflict:
             return LASTREV_INVALID