448
448
output_encoding = osutils.get_terminal_encoding()
453
452
# For whatever reason codecs.getwriter() does not advertise its encoding
454
453
# it just returns the encoding of the wrapped file, which is completely
455
454
# bogus. So set the attribute, so we can find the correct encoding later.