Bug #63131
closed
Wrong encoded TitleTags/Umlaute in Feedit
Added by Sven Juergens almost 10 years ago.
Updated about 6 years ago.
Description
hi,
There is a bug with titleTags in german in feedit: "Neuen Datensatz einfügen" or have a look at the attached image.
The FrontendEdit Panel us $GLOBALS['BE_USER']->extGetLL('xxx')); to get the correct translations.
In this function is a call to "$labelStr = $this->getLanguageService()->csConvObj->utf8_to_entities($labelStr);", why we need to convert to entities ?
If the HTML output ist UTF8 there is no reason to use it and convert it. especially with "UTF8 everywhere" in mind.
Solution could be to remove this call in FrontendBackendUserAuthentication.php -> function extGetLL()
Files
P.S. to reproduce this bug, install a fresh TYPO3 6.2.6, install EXT:feedit, download the german translations, switch your Backend Language to German and activate feedit
I see this bug as well.
In the backend of TYPO3 6.2 and newer, charsets other than UTF-8 are no longer supported. The backend charset will be UTF-8 anyway. So there is no need to convert entities.
The fix is to remove the call to utf8_to_entities(). This fixes the issue.
the line
$labelStr = $this->getLanguageService()->csConvObj->utf8_to_entities($labelStr);
is still present inside typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php
on both 6.2.15 and 7.6-dev (latest master)
- Target version set to Candidate for patchlevel
- Status changed from New to Under Review
Also happens in confirmation popup dialogs - see screenshot.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF