Multibyte functions usage
I would raise a problem.
As 1.5.0 is UTF-8 by default, would it be more correct to use everywhere the mb_xxx PHP functions ?
Ex: mb_strlen() instead of strlen(), mb_sent_mail(), ...etc.
Ive done a global search with 'mb_' on source which gives no result.
Re: Multibyte functions usage
Probably. But at the present time it does not use those functions. Unfortunately there are many webservers which don't have proper support for mb_ functions.
Changes will be made in v2 for more efficient multibyte support.
Re: Multibyte functions usage
If you consider strlen() (often used through ZC) and if string has some utf8 special characters then it returns wrong value, because those special characters will take more bytes.
OpenCart for example use UTF-8 and has its own internal library of utf8_xxxx() functions equivalent to the mb_ functions.
We are waiting v2 since a long long time...
Re: Multibyte functions usage
Quote:
Originally Posted by
gob33
If you consider strlen() (often used through ZC) and if string has some utf8 special characters then it returns wrong value, because those special characters will take more bytes.
Understood.