Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mb_str_pad polyfill tests are failing for UTF-32 on PHP 8 #512

Open
stof opened this issue Dec 21, 2024 · 0 comments
Open

mb_str_pad polyfill tests are failing for UTF-32 on PHP 8 #512

stof opened this issue Dec 21, 2024 · 0 comments

Comments

@stof
Copy link
Member

stof commented Dec 21, 2024

See CI runs for those failures.

Apparently, the pad string used in paddingEncodingProvider for UTF-32 is not considered invalid by iconv. It triggers a notice iconv_strlen(): Detected an illegal character in input string, which then returns false for the length

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant