Project

General

Profile

Actions

Bug #34330

closed

Encoding error in flexform sections if backend is not UTF-8

Added by Helmut Hummel about 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2012-02-27
Due date:
% Done:

0%

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

Description

#29067 introduced a regression, because the inline javascript was encoded twice. This was fixed in #32422 but this unfortunately introduced a regression for non UTF-8 backends.

The reason for the latter is that json_encode can only handle UTF-8 encoded strings.

Solution:
Encode the string to UTF-8 before handing it over to json_encode


Files

34330.patch (1.35 KB) 34330.patch Patch for Typo3 4.5.19 #34330 Ro!and Schorr, 2012-10-01 15:38

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #29067: Encoding UTF-8 in unescape functionClosed2011-08-18

Actions
Related to TYPO3 Core - Bug #32422: Encoding error in TCEforms inline JavaScriptClosedSteffen Gebert2011-12-09

Actions
Has duplicate TYPO3 Core - Bug #33377: Javascript error: URI malformed when adding new sectionsClosed2012-01-23

Actions
Actions

Also available in: Atom PDF