--- textwrap_.py.orig 2016-11-21 12:03:10.270949101 +0900 +++ textwrap_.py 2016-11-21 12:03:12.495949101 +0900 @@ -92,7 +92,7 @@ # Convert current line back to a string and store it in list # of all lines (return value). if cur_line: - lines.append(indent + ''.join(cur_line)) + lines.append(indent + ''.join(str(c).decode('utf-8') for c in cur_line)) return lines