[TYPO3-dev] Bug 1039 - Why T3 has that few success in asia!!!

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Jun 11 18:10:45 CEST 2007


Elmar Hinz schrieb:
> Hi Ernesto,
> 
> I played around a litle. Obviously this line
> 
>> $TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8;';
> 
> is elementary to get a clean utf-8 database, so that you can handle the
> data also with tools like phpmyadmin.
> 
> Unfortunatly it's not a setting, people stumble directly upon. How could
> this be improved? 

I suggest we require Mysql 4.1 and use the CHARSET clause of the CREATE 
TABLE statement.

Additionally we can check the connection of the connection. If forceCharset 
is set and the DB connection doesn't have the same charset, we regard this 
as DB failure and stop.

Masi




More information about the TYPO3-dev mailing list