William
William

Reputation: 4034

illegal multibyte sequence in Pycharm while using exec(open('file.py').read())

I'm using PyCharm to run code:

exec(open('file.py').read())

while running some file I got:

UnicodeDecodeError: 'gbk' codec can't decode byte 0xa7 in position 2655: illegal multibyte sequence

Any friend can help?

Upvotes: 0

Views: 553

Answers (0)

Related Questions