Issue Bug Closed

#41793Use UTF-8 by default in Flexforms and Backend

Benni Mack 10/09/12, 16:31 updated 10/02/18, 12:16

Description

Was: FlexFormTools array to XML does not use UTF-8 by default

When using FlexFormTools, and no $LANG->charSet is set, then the XML header is written with an empty character set. This happens if you use this function in your own extension and not in the backend e.g., but also when instantiating the storages (this is where I noticed it).

Thus, we introduce a fallback to UTF-8. This is the same way, GeneralUtility (t3lib_div) – array2xml_cs does it.

Reviews 1