I am trying to update a page with image products of a Prestashop instance.
I am getting the information using prestashop web services. The problem is when I load the pag
Those strange data on response are the compressed content which your curl failed to detect.
Replace this:
curl_setopt($ch, CURLOPT_ENCODING, 'gzip,deflate,sdch');
With:
curl_setopt($ch, CURLOPT_ENCODING, '');
Empty encoding means to handle any type of encoding. It should solve your issue.