I have an array which one of the keys contains some HTML code. I am json_encoding this array for returning. I have recently noticed that json_encode() returns \'null\' if the ht
My answer, wrapped the html string with utf8_encode().