Issue Bug Closed

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

Helmut Hummel 02/27/12, 17:47 updated 10/02/18, 12:19

Description

  1. 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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.