how to set sys.stdout encoding in python 3?,sys.stdout = codecs.getwriter('utf-8')(sys.stdout.detach())