<?xml version="1.0" encoding="windows-1252"?>
<node id="837399" title="Re^3: www:mechanize mangles unicode" created="2010-04-28 17:13:35" updated="2010-04-28 17:13:35">
<type id="11">
note</type>
<author id="489671">
Hue-Bond</author>
<data>
<field name="doctext">
&lt;blockquote&gt;&lt;i&gt;and the data that is being sent is "Château".&lt;/i&gt;&lt;/blockquote&gt;
&lt;p&gt;But, what is "Château"? How could you be sure of that? Well, use an hexdumper for that, for example vim's &lt;c&gt;xxd&lt;/c&gt;:&lt;/p&gt;
&lt;c&gt;$ echo -n Château |xxd
0000000: 4368 c3a2 7465 6175                      Ch..teau&lt;/c&gt;
&lt;p&gt;What you specifically need then, is dumping your log file:&lt;/p&gt;
&lt;c&gt;$ grep 'teau\b' /path/to/log |xxd |less&lt;/c&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-489671"&gt;
&lt;p&gt;-- &lt;br /&gt;
&amp;nbsp;David Serrano&lt;br&gt;
&amp;nbsp;&lt;small&gt;&lt;i&gt;(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!).&lt;/i&gt;&lt;/small&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
837386</field>
<field name="parent_node">
837396</field>
</data>
</node>
