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