You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.
Okay, my mistake.
I should have called the following at the top of my test file:
\Patchwork\Utf8\Bootup::initAll(); // Enables the portablity layer and configures PHP for UTF-8
\Patchwork\Utf8\Bootup::filterRequestUri(); // Redirects to an UTF-8 encoded URL if it's not already the case
\Patchwork\Utf8\Bootup::filterRequestInputs(); // Normalizes HTTP inputs to UTF-8 NFC
I'm using php 5.5.19.
I don't have mb_string, iconv or intl extensions enabled.
I get the following error when using Utf8::strlen(..):
According to the documentation, there is a fallback implementation, but when trying Utf8::strlen() no fallback implementation is active.
Am I doing something wrong, or does Utf8::strlen() require intl extension to be enabled?
By what other means can I get the length of a utf8 string?
Thanks in advance.
The text was updated successfully, but these errors were encountered: