240
240
input_encoding = getattr(sys.stdin, 'encoding', None)
242
242
output_encoding = bzrlib.user_encoding
245
245
output_encoding = input_encoding
250
250
# use 'replace' so that we don't abort if trying to write out
251
251
# in e.g. the default C locale.
252
252
self.outf = codecs.getwriter(output_encoding)(sys.stdout, errors=self.encoding_type)
254
258
@deprecated_method(zero_eight)
255
259
def run_argv(self, argv):