[TYPO3-core] declare(encoding='UTF-8'); in extension config files

Dmitry Dulepov dmitry.dulepov at gmail.com
Mon Feb 25 11:59:16 CET 2013


Hi!

Jigal van Hemert wrote:
>
> I agree with Helmut and would even go a step further and declare them as
> not allowed in all PHP source files. IMO there is not need for them
> because the CGL already mentions:
> "All TYPO3 source files use the UTF-8 character set without byte order
> mark (BOM) since version 4.5." [1]
>
> Extensions should follow the CGL too.

+1, however I would not bet that every ext author will read that. Having a 
fail safe measure never hurts...

-- 
Dmitry Dulepov
TYPO3 CMS core & security teams member

<strike>Simplicity</strike> Crocodiles will save the world.



More information about the TYPO3-team-core mailing list