there's a difference between correctly sanitizing your inputs and reformatting everything you take in.
you don't restrict all things to the same conditions. if you need to take in text that shouldn't be escaped, don't escape it. just make sure you deal with it correctly.
edit:
if that doesn't help and you still are wondering why you should sanitize inputs, read up more on xss and sql injection vulnerabilities.
you don't restrict all things to the same conditions. if you need to take in text that shouldn't be escaped, don't escape it. just make sure you deal with it correctly.
edit:
if that doesn't help and you still are wondering why you should sanitize inputs, read up more on xss and sql injection vulnerabilities.