utf8 - bom

I have been having problems with UTF8 files and BOM’s. I have my own forum and suddenly the code stopped working. I was using notepad++. But even though I have set it to UTF8 without BOM I seem to end up with ANSI files.

What can I do?

If the characters in your code happen to be within the ASCII range, then UTF-8 without BOM is indistinguishable from ASCII. For me, at least, that’s usually why Notepadd++ will sometimes think a file is ANSI when I open it again. It doesn’t necessarily mean any bytes were altered.