##// END OF EJS Templates
Use 'UTF-8' as the `encoding` attribute in `OutStream` class....
Use 'UTF-8' as the `encoding` attribute in `OutStream` class. This means that `sys.stdout.encoding` returns something useful instead of raising an AttributeError. 'UTF-8' was chosen because our version of write actually wants a unicode string (i.e., not `bytes`) and we want something universal which an encode the entire range of unicode characters.

File last commit:

r2009:2a0ba18d
r8595:f1c11554
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer