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

r8121:66727cb1
r8595:f1c11554
Show More
print_argv.py
2 lines | 30 B | text/x-python | PythonLexer
import sys
print sys.argv[1:]