Zum Inhalt springen

The forced character set "utf8" was not found in t3lib/csconvtbl/

Erstellt am 27. Dezember 2010 · 2 Antworten · letzte Antwort am 27. Dezember 2010

Tags: Datenbank, Frage, English

poescp ·

Hi,

Have an interesting one and just cannot find the solution. I have a website with russian and slovak characters.
Adding

$TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf8';
$TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8'.chr(10).'SET character_set_connection = utf8';
$TYPO3_CONF_VARS['SYS']['UTF8filesystem'] = 1;

to localconf.php

and

to the Main Template

metaCharset = utf-8
#renderCharset = utf-8
additionalHeaders = Content-Type:text/html;charset=utf-8

will show the website BE/FE with the correct characters. However when trying to login into the BE following message appears "The forced character set "utf8" was not found in t3lib/csconvtbl/"

It is true it is not available in t3lib/csconvtbl/ but I believe it does not have to be there, because it is utf8.

As soon as I delete the section again in localconfig.php things work again, however the website shows not with the special characters but cryptic ones.

Here the full code from localconf.php

$typo_db_extTableDef_script = 'extTables.php';

## INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script!

$typo_db_username = 'lovesk01';    //  Modified or inserted by TYPO3 Install Tool.
$typo_db_password = 'aeHahx9ox';    //  Modified or inserted by TYPO3 Install Tool.
$typo_db_host = 'localhost';    //  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['encryptionKey'] = '1a778e74792ada5fa6ce27b92762369e';    //  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['compat_version'] = '4.2';    //  Modified or inserted by TYPO3 Install Tool.
$typo_db = 'lovesk';    //  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf8';
$TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8'.chr(10).'SET character_set_connection = utf8';
$TYPO3_CONF_VARS['SYS']['UTF8filesystem'] = 1;
// Updated by TYPO3 Install Tool 27-05-09 11:22:42