Create a new channel as a copy of main.
Rename main to:
Delete main? This cannot be undone.
#!/usr/bin/env python import sys getattr(sys.stdout, "buffer", sys.stdout).write(b"a line with bad encoding: \xc2.") sys.stdout.flush()