The following list details the PHP string functions which could cause problems when handling multi-byte strings. The multi-byte safe alternative is given when available:
Please investigate the /u option, as that provides UTF-8 awareness. The preg_* functions are contentious, because careful use can be safe. If you are unsure what to do, see mb_eregi() as a possible replacement.
Please investigate the /u option, as that provides UTF-8 awareness. The preg_* functions are contentious, because careful use can be safe. If you are unsure what to do, see mb_ereg_replace() as a possible replacement.
View comments for possible workarounds.
View comments for possible workarounds.
No known workarounds yet.
View the comment posted on "11-Feb-2008 04:31" for a possible workaround.
This function is flagged because its companion function (ucfirst) is not safe. However, this function is untested.
May be multi-byte safe if you use UTF-8 only (multi-byte UTF-8 characters contain no byte sequences that resemble white space). Avoid UTF-16 & UTF-32, among others.
It may be multi-byte safe if you use UTF-8 only (multi-byte UTF-8 characters contain no byte sequences that resemble less-than or greater-than symbols). Avoid UTF-16 & UTF-32, among others.
|