Navigation labels are wrongly encoded on TYPO3 7

Issue #38 closed
Michael Stucki created an issue

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)

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

  2. Log in to comment