victorlei / smop

Small Matlab to Python compiler
MIT License
1.08k stars 409 forks source link

'gbk' codec can't decode byte 0x93 in position 1602: illegal multibyte sequence. #152

Open cathylaucx opened 4 years ago

cathylaucx commented 4 years ago

It's fine to run the resolve.m file, but when I run another .m file, resulting in:

UnicodeDecodeError: 'gbk' codec can't decode byte 0x93 in position 1602: illegal multibyte sequence.

Have no idea how to deal with this.

zhaofeng-shu33 commented 4 years ago

You should use utf-8 encoding for your input file.