get_output_encoding falls back to get_encoding if sys.__stdout__ is redirected.
authorW. Trevor King <wking@drexel.edu>
Fri, 15 Apr 2011 00:47:27 +0000 (20:47 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 15 Apr 2011 00:47:27 +0000 (20:47 -0400)
commite788c9c78dff307cf50c86e5ffa8dc92f1734302
tree7beee91fd6ebc404cf0de206fde5d5a0afc24212
parentb09cfb0cfecfb683e33490908b5ec59bed530938
get_output_encoding falls back to get_encoding if sys.__stdout__ is redirected.
libbe/util/encoding.py