2

My PHP script have all echoes commented. But if I'd run it from the command line I will receive 'О╩©' (without quotes) in the very beginning of the script execution. I'm concerning as the script is intended to be run from crontab and each execution generates new email with empty message body (only two LFs after the message header). How can I track the source of this unnecessary output? (Sorry - the script is too large to be posted here)

Jenson M John
  • 5,499
  • 5
  • 30
  • 46
Roman Matveev
  • 563
  • 1
  • 6
  • 22

1 Answers1

4

Seems like your file has Byte Order Mark [BOM] signature at the start, save your file encoding as UTF8 without BOM.

Byte Order Mark (BOM)

In Notepad++ Try : Encode -> Encode in UTF-8 without BOM

Jenson M John
  • 5,499
  • 5
  • 30
  • 46