Innocently I thought that there's no problem to store into a db an UTF-8 string, even if they contains strange characters. On the contrary I've read here and there that some characters, as newlines, can be used to hack the code.
Do you know which are the characters that is better to strip out or escape? I'm interested also in good articles and / or books (epub preferably).