java: Illegal character:'\ufeff'

Reason : The encoding format of the unrecognized code is
solved :
select the file with the error, go to the lower right corner of the idea, first change to GBK, click convert
Insert picture description here
Insert picture description here
and then select back to UTF-8, and click convert again.

Guess you like

Origin blog.csdn.net/qq_44624536/article/details/115363627