Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: www:mechanize mangles unicode

by Hue-Bond (Priest)
on Apr 28, 2010 at 21:13 UTC ( #837399=note: print w/ replies, xml ) Need Help??


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!).


Comment on Re^3: www:mechanize mangles unicode
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://837399]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2014-08-31 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls