Byte Order Mark in java file

Answered

Hi,

I am working with Codegym course plugin in Intellij IDEA, In some exercises the BOM mark appears at the very beginning of the file, It's invisible and I cant delete it. I am getting these errors:
Error:(1, 1) java: illegal character: '\ufeff'
Error:(1, 10) java: class, interface, or enum expected
Is there any way to Delete BOM mark from the file?

0
3 comments

Have you tried "File | Remove BOM"?

3

I didnt noticed there is such option, thanks :)

0

Thanks for this quick-fix!

0

Please sign in to leave a comment.