@@ -0,0 +1,265 @@
+import sys%0Aprint sys.stdout.encoding%0A %0Afrom ctypes import pythonapi, py_object, c_char_p%0APyFile_SetEncoding = pythonapi.PyFile_SetEncoding%0APyFile_SetEncoding.argtypes = (py_object, c_char_p)%0Aif not PyFile_SetEncoding(sys.stdout, %22UTF-8%22):%0A         raise ValueError%0A

print unicode chars out to term