Skip to content
Snippets Groups Projects
Commit e27614cd authored by Sybille Peters's avatar Sybille Peters Committed by Georg Ringer
Browse files

[BUGFIX] Pad multibyte strings correctly

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: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent fd2be8b3
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment