I was wondering what are the internals of Phalcon using UTF8?
For example, if I use something like this
echo strlen('hello');
but
echo strlen('汉字/漢字');
strlen is not compatible with UTF8, so mb_strlen must be used for security.
Does Phalcon use (internally) mb_ * related functions? If not, how can we guarantee that everything is internally handled using UTF8 to ensure compatibility with all languages?
Thanks!
source share