Skip to content

Commit 2df1e91

Browse files
committed
[TASK] Use utf8 as default charset really for SQLite
Literally, PostgresSQL and SQLite are smart enough to map `utf-8` correctly to their internal charset `utf8`, which means that the default would be okay. Recently added to the testing-framework, this has been handled before by TYPO3 core using `utf8`, it's changed to streamline towards the same writing throughout TYPO3. Releases: main, 8
1 parent cf5ab6a commit 2df1e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Core/Functional/FunctionalTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ protected function setUp(): void
374374
$testbase->createDirectory(dirname($this->instancePath) . '/functional-sqlite-dbs');
375375
$localConfiguration['DB']['Connections']['Default']['path'] = $dbPathSqlite;
376376
if (($localConfiguration['DB']['charset'] ?? '') === '') {
377-
$localConfiguration['DB']['charset'] = 'utf-8';
377+
$localConfiguration['DB']['charset'] = 'utf8';
378378
}
379379
}
380380

0 commit comments

Comments
 (0)