Issue Bug Closed

#19708First line of external TS is discarded when using UTF-8 encoded files

Xavier Perseguers 12/17/08, 13:24 updated 09/09/13, 10:22

Description

When including an external TypoScript file, the very first line of the external file is not always interpreted.

For instance, in my template, I write

<include_typoscript: source="FILE: fileadmin/breadcrumb.txt"> <p>with breadcrumb.txt being</p> <p>—————————-<br>temp = HMENU<br>temp.1 = TMENU<br>temp.1 { # config there<br>}<br>—————————-</p> <p>Sometimes the “temp = HMENU” is forgotten leading to an incomplete TS setup and the temp object not being rendered.</p> <p>Adding an empty line or a comment at the beginning solves this issue.</p> <p>I cannot find a way to always reproduce this bug.<br>(issue imported from #M9963)</p></include_typoscript:>

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.