UTF-8 support is broken
|Priority:||Must have||Due date:|
|Assignee:||Karsten Dambekalns||% Done:||
|Target version:||TYPO3 Flow Base Distribution - 1.0 beta 1|
|Has patch:||FLOW3 version affected:|
I just saved some FLOW3 objects with german umlauts and it seems that there's a "SET NAMES UTF-8" or some Doctrine2 UTF-8 connection setting missing. Also all autogenerated MySQL tables have latin1_swedish_ci collation. Should be easy to fix this.
These are my connection settings in Settings.yaml
FLOW3: persistence: backendOptions: driver: pdo_mysql host: 127.0.0.1 port: 3306 dbname: guruhelp_local user: root password: dasistnureinhohlespasswortdaskeinerkennt path: guruhelp
[FEATURE] Enable SQL connection initialization
Some database setups might need to run some initial SQL statement after
a connection has been established. Examples are date/time format options
for Oracle or charset settings for MySQL.
For MySQL UTF-8 support was potentially broken, depending on the system
setup. This can be fixed by using the new initialization option:
FLOW3: persistence: doctrine: dbal:
sessionInitialization: 'SET NAMES utf8 COLLATE utf8_unicode_ci'
Updated by Karsten Dambekalns about 2 years ago
- Category set to Persistence
- Status changed from New to Accepted
- Target version set to 1.0 beta 1
Updated by Mr. Hudson about 2 years ago
Patch set 1 of change I456f313014e1943733aa5d7aa9cf9c8cb20f34a8 has been pushed to the review server.
It is available at http://review.typo3.org/2037