--- xmlrpc.py	Thu Aug 14 11:14:00 2003
+++ x.py	Tue Oct 28 12:57:00 2003
@@ -55,7 +55,8 @@
         except:
             resp_str = 'Content-type: text/plain\n\nXML-RPC call expected\nDebug: %s:%s' % (sys.exc_type, sys.exc_value)
         else:
-            resp_str = 'Content-type: text/xml\nContent-length: %d\n\n%s' % (len(response), response)
+            config = self._request.getConfiguration()
+            resp_str = 'Content-type: text/xml; charset=%s\nContent-length: %d\n\n%s\n' % (config.get('base_encoding','iso-8859-1'),len(response), response)
 
         sys.stdout.write(resp_str)
         sys.stdout.flush()
