hey PHP guys, do you remember unicode?

While we all are waiting for some real news about PHP6… I found a funny bug in PHP5.2.

As you all know PHP5 does not support unicode natively, thus you’ve to use the mbstring module and let the module overload all the functions dealing, doing this will allow you (example) to substring a text without cutting chars in the middle […]

But mbstring is not complete, str_pad function is not implemented thus in this moment you can’t pad a unicode string with PHP.

IMHO, this is a big issue with PHP in 2007, Python/Ruby and many others support unicode since many years, PHP is too late about that!!

One thought on “hey PHP guys, do you remember unicode?

  1. Pingback: If I was the Zend CTO « Fabrizio Balliano

Leave a Reply

Your email address will not be published. Required fields are marked *