Corrected output encoding for Python 3.3