http://www.perlmonks.org?node_id=837399


in reply to Re^2: www:mechanize mangles unicode
in thread www:mechanize mangles unicode

and the data that is being sent is "Château".

But, what is "Château"? How could you be sure of that? Well, use an hexdumper for that, for example vim's xxd:

$ echo -n Château |xxd 0000000: 4368 c3a2 7465 6175 Ch..teau

What you specifically need then, is dumping your log file:

$ grep 'teau\b' /path/to/log |xxd |less

--
 David Serrano
 (Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling errors. Thank you!).