sugarcrm/sugarcrm_dev — pull request #218 by JoshuaQ (2014-12-02 16:47:49+00:00)
Title: Avoid warnings for and detect the problem.

If the string is not posible to encode, send a warning to screen, and is dificult to find.
Warning: json_encode(): Invalid UTF-8 sequence in argument occurred