What is the best way to encode text posted to a PHP script from an HTML form so that special characters, i.e. "#'@ etc are not modified in anyway. My thoughts were to uuencode the data with JavaScript at form submission and then `base64_decode()` it in PHP, or escape the text with js then `urldecode()` with PHP, or is there another way?