Hi all,
I recently had work with a really old site that was on cp-1257 and needed to do a migration to utf-8, after that all hell broke lose, most dbqueries are not working stripinput does not escape special chars and so on. The thing is, it seems like stripinput finds the characters that needs to be replaced, but in the db query they are still not escaped. Example:
There is a POST method to get the user's input, lets say the content is:
'this here's my message', after stripinput the message should be 'this here's' my message', but it's not, it stays the original submited value with no escaping, why is this happening, in what kind of encoding hell have i've gotten my selft into?
Thanks
0 replies