joomla/joomla-platform — pull request #1463 by aaronschmitz (2012-08-17 23:07:23+00:00)
Title: Remove the weird exception handling from string.php.

This handling can cause problems in JArrayHelper::sortObjects due to https://bugs.php.net/bug.php?id=50688.

Iconv throws a notice if there is an illegal character regardless of whether ignore is set so this handling is pointless (and in fact broken since it will always fall back to IGNORE not TRANSLIT). Also, //TRANSLIT,IGNORE not //TRANSLIT//IGNORE will properly both transliterate and ignore.

See also: https://github.com/joomla/joomla-cms/issues/179#issuecomment-7835266