Revision: 2595 Author: janne.t.harkonen Date: Thu Mar 4 01:37:07 2010 Log: Use encoding of original stdout, not encoding of Robot output capture http://code.google.com/p/robotframework/source/detail?r=2595
Modified: /trunk/src/robot/libraries/OperatingSystem.py ======================================= --- /trunk/src/robot/libraries/OperatingSystem.py Thu Mar 4 01:33:46 2010 +++ /trunk/src/robot/libraries/OperatingSystem.py Thu Mar 4 01:37:07 2010 @@ -218,7 +218,7 @@ def _decode_from_system(self, string): if self._is_jython22(): return string - encoding = sys.stdout.encoding or sys.stdin.encoding + encoding = sys.__stdout__.encoding or sys.__stdin__.encoding if encoding: return unic(string, encoding) if os.sep == '\\':