strlen can not be used for binary data to get the count of bytes.  mb_* package and function overloading makes this stuff super flaky across systems
Require mb_string