Revision: 4052
Author: pekka.klarck
Date: Mon Sep  6 04:15:52 2010
Log: encode --help/--version output before printing, issue 637
http://code.google.com/p/robotframework/source/detail?r=4052

Modified:
 /trunk/src/robot/__init__.py

=======================================
--- /trunk/src/robot/__init__.py        Tue Aug 31 05:54:05 2010
+++ /trunk/src/robot/__init__.py        Mon Sep  6 04:15:52 2010
@@ -150,7 +150,7 @@
255 - Internal and unexpected error occurred in the framework itself
     """
     if rc == INFO_PRINTED:
-        print message
+        print utils.encode_output(message)
     else:
         if rc == DATA_ERROR:
             message += '\n\nTry --help for usage information.'

Reply via email to