[pywin32-bugs] [ pywin32-Bugs-3496749 ] missing stdout.encoding
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2012-04-22 05:18:10
|
Bugs item #3496749, was opened at 2012-03-04 02:07 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3496749&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pythonwin Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Redoute (redoute) Assigned to: Nobody/Anonymous (nobody) Summary: missing stdout.encoding Initial Comment: In PythonWin stdout has no attribute encoding. Printing non-ascii chars mysteriously succeeds, but this is not transparent. Example: [PythonWin shell] >>> from sys import stdout >>> print 'stdout.encoding: ', stdout.encoding stdout.encoding: Traceback (most recent call last): File "<interactive input>", line 1, in <module> File "C:\Programme\Python27\Lib\site-packages\pythonwin\pywin\mfc\object.py", line 18, in __getattr__ return getattr(o, attr) AttributeError: 'PyCCtrlView' object has no attribute 'encoding' >>> print u'äöüß' äöüß [/PythonWin shell] ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2012-04-21 22:18 Message: pywin.framework.interact.InteractiveView now has the encoding set to Scintilla's encoding. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3496749&group_id=78018 |