I must have spent a good hour trying to work out why I had a random full stop on my web page tonight. After adding in test echo’s here and there I worked out that it appeared where my include file was. I searched google but I was looking for the wrong thing. Anyway after a good deal of searching I have it sussed.
All my web pages are encoded using UTF-8 but for some reason the include page was also adding a Unicode signature or Byte Order Mark (BOM). As I’m using Dreamweaver it was easy to fix. It was just a matter of Modify > Page Properties >Title/Encoding and removing the tick from Include Unicode Signature (BOM).
Phew, it was that easy. I hope you find this answer before you spend all your time looking for a fix.