ESLint-Formatter icon indicating copy to clipboard operation
ESLint-Formatter copied to clipboard

'utf-8' codec can't decode byte 0xb2 in position 28: invalid start byte

Open ihaichao opened this issue 7 years ago • 6 comments

qq 20161202112020

when I use ESLint-Formatter on windows10, it pops up a window as the picture above says.

ihaichao avatar Dec 02 '16 03:12 ihaichao

Hmm. Weird. What happens if you call eslint --fix YOUR_FILE_PATH from the cli?

TheSavior avatar Dec 02 '16 07:12 TheSavior

it shows the error infomation of the file.

5b90 xy u zu ixm3 y t

ihaichao avatar Dec 02 '16 07:12 ihaichao

I'm not sure, it sounds like it is likely something python is doing with file encodings. Feel free to open a PR if you are able to figure it out on your machine.

TheSavior avatar Dec 02 '16 07:12 TheSavior

OK, I will try my best to figure it out.

ihaichao avatar Dec 02 '16 09:12 ihaichao

i have same error. windows10 sublime 3126

default

dhomo avatar Jan 04 '17 16:01 dhomo

is there an solution to this problem?

ysbcc avatar May 10 '19 02:05 ysbcc