title: jQuery.parseJSON() not decoding a valid Json string on a Windows server
body: <p>I have this wordpress javascript function code running and working on a Linux server along with a php function "get_form_data". </p>
  
  <pre><code>jQuery.ajax({  
                type: "POST",  
                url: MyAjax.ajaxurl, 
                data: {action: "get_form_data", id: id, cat_id: cat_id},
  
                success: function(r) {
  
                              //alert(r);
                              var response = jQuery.parseJSON(r);
                 }
  });
  </code></pre>
  
  <p>I migrated the wordpress site to a Windows 8 Server with IIS and PHP and now it's throwing an error in the parseJSON line like this (it's only happening in the Windows environment):</p>
  
  <p><strong>SyntaxError: JSON.parse: unexpected character at line 2 column 1 of the JSON data</strong> </p>
  
  <p>The string received from the PHP function is being retrieved without any problem and the Ajax code gets to the success state right before the string is parsed (by enabling the commented alert line), but once the Json parse function tries to decode it, it crashes. The Json string is encoded by the PHP function with json_encode(). </p>
  
  <p>This is the string received by the Ajax function, it's a valid string as far as I know. </p>
  
  <p>﻿["New Day","2","One Song","John","2014-12-08 13:04:56","1843","22"]</p>