Bug #21728
closed
Core labels need to be utf-8 before json_encode
Added by Steffen Kamper almost 15 years ago.
Updated almost 15 years ago.
Description
This is same problem as #21727 and #21727. As json_encode only works with utf-8 the labels has to be converted if renderCharset is different.
This is for backend.php and same for pageRenderer.
(issue imported from #M12827)
Files
This problem can also arise in extensions (e.g. with feeditadvanced).
Is there a way to fix this in the core, too?
with this patch extensions should use the API (pageRenderer) to add labels and settings, then they are safe.
Hi Steffen, I've put the t3lib_PageRenderer part to a separate issue in #21731 since some more changes were required there.
Hi olly,
ok, here is patch for backend.php only. I'll send it to core list right now.
committed v3 to trunk, rev 6581
Also available in: Atom
PDF