It's a strange issue I'm facing. Here is the CURL request I'm sending:
$fields = array(
'action' => 'json',
'region' => '',
'states' => array('TX'),
'start' => '4/2/2010',
'end' => '4/2/2017',
'internalcomments' => 'no'
);
$fields_string = http_build_query($fields);
$ch = curl_init($url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch,CURLOPT_POST, count($fields));
curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string);
$jsonResult = curl_exec($ch);
curl_close($ch);
However, when I'm printing out the content of the $fields_string
, I see a trademark icon in the query string:
action=json®ion=&states%5B0%5D=AL&states%5B1%5D=TX&start=04%2F01%2F2010&end=04%2F07%2F2017&internalcomments=no
Notice the ® icon after the word json? Any idea where that's coming from?