##// 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:

r2045:2b04bcfb
r8595:f1c11554
Show More
shadowns.py
1 line | 24 B | text/x-python | PythonLexer
""" Shadow namespace """