Project

General

Profile

Actions

Bug #41793

closed

Use UTF-8 by default in Flexforms and Backend

Added by Benni Mack about 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2012-10-09
Due date:
% Done:

100%

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

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #56841: Remove deprecated initCharset from DocumentTemplateClosed2014-03-12

Actions
Actions

Also available in: Atom PDF