|laziness, impatience, and hubris|
www:mechanize mangles unicodeby red0hat (Initiate)
|on Apr 28, 2010 at 20:37 UTC||Need Help??|
red0hat has asked for the
wisdom of the Perl Monks concerning the following question:
I've got a problem that is melting my brain a little.
I want to read something from a database, then post it in a HTML form. It worked fine until a user decided to throw in some accented characters. The accented characters are being posed to the website as 2 characters.
example: Château becomes ChÃ¢teau.
The website uses iso-8859-15. So, I'm inclined to believe this is an encoding issue. The rest of the code is working as expected.
Output = ChÃ¢teau
Thanks in advance,