Bug #21426
closedAccentuated characters in CE are not saved properly
0%
Description
When using accentuated characters in either Header or Text field of a content element, the accentuated characters are replaced to weird characters (2 characters per accentuated character, a bit like a UTF-8 encoding problem) and t3lib_tcemain reports a problem while running method checkStoredRecord() that is shown as error Flash message::
102: These fields are not properly updated in database (header) Probably value mismatch with fieldtype.
In case of accentuated characters in bodytext, message is the same and bug too:
102: These fields are not properly updated in database (bodytext) Probably value mismatch with fieldtype.
DBAL Debug does not show any error though.
This problem can be reproduced with or without UTF8 configuration. This means either no special UTF8 configuration in localconf.php or standard UTF8 configuration:
$TYPO3_CONF_VARS['SYS']['t3lib_cs_convMethod'] = 'iconv';
$TYPO3_CONF_VARS['SYS']['t3lib_cs_utils'] = 'iconv';
$TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';
(issue imported from #M12435)
Updated by Xavier Perseguers about 15 years ago
Problem arised on a RedHat Enterprise webserver. Problem was that somehow Apache lost his NLS_LANG environment variable. This was debugged by executing:
print_r($_ENV);
?>
After restarting Apache, environment variable were all there again. Weird!
This lead to another problem with TemplaVoilà, namely that mapping has been lost (!) as TO serialized info was not unserialized successfully. Remapping in TV solved this issue.
Updated by Xavier Perseguers about 15 years ago
To give full solution if someone has same problem once. Problem was that the initialization of environment variable was missing the "export" keyword use in /etc/sysconfig/httpd.