When utilizing AJAX, I am sending the string someString to a PHP handler.
xmlHttp.open("POST", url, true);
var someString = 'Foo+Bar';
var params = 'operation='+operation+'&json='+JSON.stringify(someString);
xmlHttp.send(params);
If the someString contains a '+', it is replaced with a space. While this behavior is expected with JSON.stringify, I am curious about how I can retain the pluses (using JavaScript only)?
My second question pertains to which other symbols are replaced by JSON.stringify?