[TYPO3-dev] Problem with UTF-8 TS include files
Martin Kutschker
masi-no at spam-typo3.org
Tue Feb 17 17:31:22 CET 2009
Francois Suter schrieb:
> Hi all,
>
> I just found out that if you use the INCLUDE directive to include a TS
> file (in the case I tested, a User TSconfig) the first line is lost when
> the file is encoded in UTF-8. Indeed that first line contains an invalid
> character and is thus skipped by the TS parser.
>
> I'm not sure how this could be solved since AFAIK there's no foolproof
> method of detecting if a file is UTF-8 encoded or not. Any ideas?
Are the files written on Windows? Then the very first bytes could be a
byte order mark (BOM).
Masi
More information about the TYPO3-dev
mailing list