Page 1 of 1

UTF8 adding odd characters

Posted: Mon Sep 20, 2010 12:54 am
by neo314
I have the MySQL database and the page encoded in UTF-8. I have tried the general and the unicode collations. When the registration symbol is submitted, and I return it from the database, it displays properly, but when I URL encode it, I get %E2 or %C2 in front of the reg symbol encoding (the difference is how linux or windows seems to handle tolower). If I remove the reg symbol from the string in a comparison, the extra character remains (with reg symbol I get %C2%AE without the reg symbol I get %C2).

The %C2 was never in the input (at least not intentionally). Any idea why this happens or how to get rid of it?