Navigation labels are wrongly encoded on TYPO3 7
Hi Frans,
after applying the latest changes on a TYPO3 7 based website, the navigation labels are now encoded wrong (looks like double-encoded UTF-8 to me). Funnily, this is exactly what you tried to prevent with https://bitbucket.org/franssaris/fs_media_gallery/commits/832b7a7aad56de6a306dda11e1f0d916b2fcfed2.
IMHO, the change should be reverted and the issue should be fixed for TYPO3 8. Using html entities should not be the root cause of this problem...
Thanks in advance for having a look!
Comments (7)
-
repo owner -
repo owner Btw is your website/html source encoding utf-8?
-
reporter The file is encoded as Latin1 in your commit 832b7a7. You can even see this online here: https://bitbucket.org/franssaris/fs_media_gallery/src/832b7a7aad56de6a306dda11e1f0d916b2fcfed2/Resources/Private/Themes/Bootstrap3/Templates/ViewHelpers/Widget/Paginate/Index.html?fileviewer=file-view-default#Index.html-56
So the short-term workaround would be to commit the file again with UTF-8 encoding, however I'd still prefer a solution which accepts HTML entities because they might till be used at other places in custom templates...
-
repo owner Ah, forgot to convert the file to utf-8.
Currently I'm not sure how to correctly fix this backwards compatible. The core issue related to this is https://review.typo3.org/#/c/52012/3
-
repo owner - changed status to resolved
[BUGFIX] Fix wrong encoded pagination labels
Moved the default labels to the locallang.xlf
Fixes:
#38→ <<cset 369e8944d1d5>>
-
reporter Thank you!
-
repo owner - changed status to closed
Your welcome :)
- Log in to comment
Tnx for your feedback. Will give it a look later this week.