title: A template that extends another one cannot start with a byte order mark (BOM); it must be removed in "index.twig" at line 1
body: <p>Hi i was using bolt and twig and i got this error </p>
  
  <blockquote>
    <p>A template that extends another one cannot start with a byte order mark (BOM); it must be removed in "index.twig" at line 1.</p>
  </blockquote>
  
  <p>but I cant seem to find out what the problem here is. searched arround on the internet found some answers here on stack  <a href="https://stackoverflow.com/questions/29139471/symfony2-error-twig-a-template-that-extends-another-one-cannot-have-a-body">like </a> this one. but this didnt seem to help for me.</p>
  
  <p>my _master.twig file looks like this.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
     {% block SEO %}
     {% endblock %}
     {% include "partials/_head.twig" %}
  &lt;/head&gt;
  &lt;body&gt;
     {% include "partials/_header.twig" %}
     {% block content %}
     {% enblock %}
     {% include "partials/_footer.twig" %}
     {% include "partials/_scripts.twig" %}
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And my index.twig like this</p>
  
  <pre><code>{% extends "partials/_master.twig" %}
  
  {% block SEO %}
    &lt;title&gt;Home&lt;/title&gt;
    &lt;meta name="description" content="Beschrijving"/&gt;
    &lt;meta name="keywords" content="woordjes, enzo"/&gt;
  {% endblock %}
  
  {% block content %}
    &lt;div class="page"...&gt;
  {% endblock %}
  </code></pre>
  
  <p>ive had some other bolt/twig projects but this is how i did it everytime now suddenly it gives me back this error. i hope someone can help me solve this error.</p>