What I learned today:
- The javascript "unescape" function is super,super great... alone it resolves the majority of the issues of url encoding :)
- On the other side, accented characters are a bitch... you never know what you're going to come up with (for example, 'à' becomes 'Ã '... and don't forget the space!!!)
- Last but not the least: be sure to replace your special characters in the correct way. If you have to pass a query string to a db, be sure to use the html number, NOT the html name! This link is great to have on hand: http://www.ascii.cl/htmlcodes.htm
No comments:
Post a Comment