cakephp/cakephp — pull request #815 by shama (2012-09-05 17:46:27+00:00)
Title: Use built-in PHP multibyte functions for I18n

All of the built-in PHP multibyte functions have been available since 5.2.0 (and some earlier). Since CakePHP 2.2 is >= PHP 5.2.8 it seems time to remove these.

All tests green with each built-in replacement except for `mb_strtolower` and `mb_strtoupper`. The CakePHP functions differ from the built-in PHP functions quite a bit; so I've left them in there.

*Note: If the `mb_substr` length arg is defaulted to `null` it sets incorrectly to 0. That is the reason for the `is_null` check in that function.*