import ftfy def main(): print(ftfy.fix_encoding('주문하다 - to intent for?')) if __name__ == '__main__': main()