[Zope-Checkins] CVS: Zope/lib/python/Products/ZReST - ZReST.py:1.1.2.4

Andreas Jung andreas@andreas-jung.com
Thu, 30 Jan 2003 13:11:00 -0500


Update of /cvs-repository/Zope/lib/python/Products/ZReST
In directory cvs.zope.org:/tmp/cvs-serv5882

Modified Files:
      Tag: ajung-restructuredtext-integration-branch
	ZReST.py 
Log Message:
using Pythons  default encoding instead of the docutils defaults


=== Zope/lib/python/Products/ZReST/ZReST.py 1.1.2.3 => 1.1.2.4 ===
--- Zope/lib/python/Products/ZReST/ZReST.py:1.1.2.3	Thu Jan 30 13:09:44 2003
+++ Zope/lib/python/Products/ZReST/ZReST.py	Thu Jan 30 13:10:57 2003
@@ -181,11 +181,11 @@
 
         # input
         pub.source = docutils.io.StringInput(
-            source=self.source, encoding=pub.settings.input_encoding)
+            source=self.source, encoding=sys.getdefaultencoding())
 
         # output - not that it's needed
         pub.destination = docutils.io.StringOutput(
-            encoding=pub.settings.output_encoding)
+            encoding=sys.getdefaultencoding())
 
         # parse!
         document = pub.reader.read(pub.source, pub.parser, pub.settings)
@@ -265,6 +265,9 @@
 
 #
 # $Log$
+# Revision 1.1.2.4  2003/01/30 18:10:57  andreasjung
+# using Pythons  default encoding instead of the docutils defaults
+#
 # Revision 1.1.2.3  2003/01/30 18:09:44  andreasjung
 # update from RIchards sandbox
 #