how to change the stdin encoding on python,sys.stdout = codecs.getwriter('utf-8')(sys.stdout)