Issue Bug Closed

#56483INCLUDE_TYPOSCRIPT fails on files that begin with a BOM

Stefan Neufeind 03/03/14, 10:48 updated 10/02/18, 12:03

Description

Files need to be in UTF-8. But editors like “notepad” by default write a BOM and there is no easy way to see there are “hidden characters” in the beginning of the file.

In the typoscript-editor no problems are visible. But template-analyser complains about some special character in the first like of the file.

Imho INCLUDE_TYPOSCRIPT should handle a BOM gracefully (skipping the BOM when reading – maybe on save just saving the file without any BOM as it does now).

Reviews 2