cakephp/cakephp — pull request #1515 by dereuromark (2013-08-13 13:02:53+00:00)
Title: 2.4 wordwrap unicode aware

The only other place where the plain wordwrap() method is still used is the CakeEmail class:

explode("\n", wordwrap($line, $wrapLength, "\n", $cut))

But I think this is fine as it is just the splitting into the required max length (this does not need to be this exact).

Solves https://cakephp.lighthouseapp.com/projects/42648/tickets/3981-stringwrap-is-not-unicode-aware