The controller passes the array to the branch template. The array contains strings that correctly encode UTF-8. I can check this in the controller using var_dump($theArray)
. All lines are displayed correctly.
But in the branch
{% for video in videos %} {{ video.title_value | raw }} <br> {% endfor %}
some characters, such as Γ,Γ,Γ
, are replaced by
. Controller and template encoded UTF-8 without BOM
and
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
. I have to make the initial output, because the lines can contain html tags. Any idea how to fix
source share