I created the whole https://misc.l3m.in/txt/ trying to prove a point with a friend (the point was something like "you can start a blog right away if you have a domain name and a ssh access to a server, let me show you") :D
You're using apache which I'm guessing you installed. If so I think adding `AddDefaultCharset utf-8` to the config should be enough, and probably easier than adding a BOM to each of your files.