Project

General

Profile

Actions

Bug #19708

closed

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

Added by Xavier Perseguers over 15 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-12-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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">

with breadcrumb.txt being

-------------------
temp = HMENU
temp.1 = TMENU
temp.1 { # config there
}
-------------------

Sometimes the "temp = HMENU" is forgotten leading to an incomplete TS setup and the temp object not being rendered.

Adding an empty line or a comment at the beginning solves this issue.

I cannot find a way to always reproduce this bug.
(issue imported from #M9963)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #32834: Remove BOM in getUrl()Closed2011-12-26

Actions
Actions

Also available in: Atom PDF