Illegal chacter

I am getting an error

Error(1, 1) java: illegal character: \65279

From several of my files when I try to run the project. Is there any facilities in IntelliJ to find out where this character is so I can remove it? If not what suggestions can be offered to help me detect the source of the "illegal character".


1 comment
Comment actions Permalink

Hi Kevin,

It looks like one of your source files has BOM. Regarding how to check what the problem files is - I doubt it's possible to do that if that information doesn't present at IJ errors tool window.



Please sign in to leave a comment.