UnicodeDecodeError: 'ascii' codec can't decode byte

BUG

$ icdiff a/b.json c/d/j.json
Traceback (most recent call last):
  File "/usr/local/bin/icdiff", line 603, in <module>
    start()
  File "/usr/local/bin/icdiff", line 511, in start
    diff_files(options, a, b)
  File "/usr/local/bin/icdiff", line 598, in diff_files
    codec_print(line, options)
  File "/usr/local/bin/icdiff", line 518, in codec_print
    sys.stdout.write(s.encode(options.output_encoding))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 140: ordinal not in range(128)

BUGFIX

    reload(sys)  
    sys.setdefaultencoding('utf8')