at the top of the page (UTF-8 BOM)

These characters are the Byte Order Mark (BOM) of the Unicode Standard.

This can be solved in two ways:

  • Save the file without the BOM (some editors have this as an advanced option)
    • Using vi:
       :set nobomb

      and then save the file

  • Make sure the right encoding is used to present the file (meta charset) / .htaccess or similar

Tags: ,

One Response to “ at the top of the page (UTF-8 BOM)”

  1. SUSAN says:

    Thank you for this article. It was very informative.

Leave a Reply