[TYPO3-core] RFC #7942: Enable UTF-8 by default

Dmitry Dulepov dmitry at typo3.org
Thu Nov 11 16:15:46 CET 2010


Hi!

Benjamin Mack wrote:
> +		'setDBinit' =>  '-1',						// String (textarea): Commands to send to database right after connecting, separated by newline. Ignored by the DBAL extension except for the 'native' type! NOTICE: This option is deprecated since TYPO3 4.5, and will be removed in 4.7. Please use proper tools to set your installation to UTF-8.

setDBinit is not just for character sets. It can other SESSION variables. 
By deprecating it, you force usage of XCLASSes for such simple stuff as 
setting database-specific variablres that cannot be set in my.ini because 
they will affect all databases.

Example. Some sites could be critical, while others are not. Thus I can use 
different session parameters (timeouts, etc) for those sites. How do I do 
that without setDBinit? There is no way except for XCLASS.

-1 to deprecation of setDBinit as it is seriously lowers database tuning 
for each host.

-- 
Dmitry Dulepov
TYPO3 core&security team member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/


More information about the TYPO3-team-core mailing list