Project

General

Profile

Actions

Bug #21426

closed

Accentuated characters in CE are not saved properly

Added by Xavier Perseguers over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Must have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2009-11-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Xavier Perseguers over 14 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.

Actions #2

Updated by Xavier Perseguers over 14 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.

Actions

Also available in: Atom PDF