Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • typo3typo3
  • Repository
  • typo3
  • typo3
  • sysext
  • frontend
  • Classes
  • ContentObject
  • ContentObjectRenderer.php
Find file BlameHistoryPermalink
  • Sybille Peters's avatar
    [BUGFIX] Pad multibyte strings correctly · e27614cd
    Sybille Peters authored Sep 11, 2021 and Georg Ringer's avatar Georg Ringer committed Sep 22, 2021
    A new function StringUtility::multibyteStringPad() is
    introduced to handle multibyte strings instead of
    str_pad() which will not pad strings with multibyte
    characters correctly.
    
    The new function is now used for:
    
    - Fluid ViewHelper format.padding
    - TypoScript stdWrap.strPad
    
    Resolves: #95189
    Resolves: #95190
    Releases: master
    Change-Id: I4b8bf4b42e049b17754b260003ac064fbbb6246a
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71032
    
    
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
    Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
    Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    e27614cd