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
strlen counts the number of complete characters, but we need the number of single bytes in order to tell the beanstalk server how much data we are going to send with the put command.
mb_strlen($data, "latin1") should be used to force counting single bytes on any environment.
The text was updated successfully, but these errors were encountered:
When using charsets like UTF-8 and overloading mbstring functions
php.ini:
default_charset = "utf-8"
mbstring.func_overload=7
mbstring.internal_encoding=utf-8
strlen counts the number of complete characters, but we need the number of single bytes in order to tell the beanstalk server how much data we are going to send with the put command.
mb_strlen($data, "latin1") should be used to force counting single bytes on any environment.
The text was updated successfully, but these errors were encountered: