Skip to content

Commit 6bca741

Browse files
committed
Merge pull request #69 from ricardo-vargas/patch-1
PHP curl returning strange characters
2 parents e5e16d2 + 7ef9614 commit 6bca741

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Drewm/MailChimp.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ private function makeRequest($method, $args = array(), $timeout = 10)
7676
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, $this->verify_ssl);
7777
curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data);
7878
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
79+
curl_setopt($ch, CURLOPT_ENCODING, '');
7980
$result = curl_exec($ch);
8081
curl_close($ch);
8182
} else {

0 commit comments

Comments
 (0)