The data that I'm sending is usually text with some funky (e.g. Microsoft quotes) characters mixed in.
e.g. sending this with an AJAX request
gives me this on the 2nd PHP page that manipulates the data and stores it (I just store the data in a .txt file as a backup):
Code:
%u2018some%20text%u2019%20%60
1. Do I even need to escape it when sending the request?
2. How can I get the escaped data back to this on the PHP page that receives the request:
I guess my questions go to the larger question of what good practice is when sending/receiving AJAX requests with respect to escaping/unescaping.....
Hope that's clearer. Thanks.