Bug #22240

saving umlauts to flexforms doesn't work with iso-8859-1

Added by Sebastian Böttger almost 9 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-03-05
Due date:
% Done:

100%

TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

t3lib_error_Exception

PHP Catchable Fatal Error: Argument 2 passed to t3lib_div::array_merge_recursive_overrule() must be an array, string given, called in /home/typo3_src-4.3.1/t3lib/class.t3lib_tcemain.php on line 1839 and defined in /home/typo3_src-4.3.1/t3lib/class.t3lib_div.php line 1968

By saving a flexform with an umlaut in any of the text fields (also rte) you will get this error and the backend crashs. The values are not saved in the database.
(issue imported from #M13747)


Related issues

Duplicated by TYPO3 Core - Bug #22007: In a flexform extension, any "special characters" (UTF-8 characters) will throw an error Closed 2010-01-22

History

#1 Updated by Chris topher over 8 years ago

A workaround should be to force the BE to use utf-8 by setting:
$TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';

But this issue is still unfixed.

#2 Updated by Ronald Wopereis almost 8 years ago

the workaround (forceCharset) works excellent, no more problems.

original problem:
plugin typoscript_code gives me a t3editor textarea.
now when i type ampersand+copy+semicolon, i can save the contents of this content element.
but then when i reopen the textarea, the copyright symbol itself (©) is shown.
and so when i - without changing anything - save once again, the error as mentioned in this bug# is thrown at me.

TYPO3 version: 4.4.3
MySQL charSet: utf-8

#3 Updated by Markus Klein almost 7 years ago

  • Target version deleted (0)

Is this still an issue?

#4 Updated by Ronald Wopereis almost 7 years ago

i tested with TYPO3 version 4.6.4 and latest TYPOSCRIPT code
all is working fine
so i can no longer reproduce with LTS version of TYPO3

best regards, Ron

#5 Updated by Chris topher almost 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Obviously solved in recent versions.

Also available in: Atom PDF