Refs #6364, proper fix for json_encode error on some 5.3 versions of PHP. When decoding &nbsp; use UTF8 encoding so json_encode will not complain.