ezsystems/ezpublish — pull request #491 by dpobel (2012-11-07 16:19:15+00:00)
Title: Fix EZP-19929: embedding images in ezoe generates PHP warning

Bug; https://jira.ez.no/browse/EZP-19929

If display_errors is disabled (yeah only disabled...), json_encode() throws a PHP warning if a string in the object we are transforming is not in UTF8 or contains control characters.