Wireshark-users: Re: [Wireshark-users] Encoding problem of exported .pdml file
From: "Martin Mathieson" <[email protected]>
Date: Wed, 4 Apr 2007 10:05:07 +0100
Have you tried an up-to-date version of wireshark?  I remember fixing
a very similar problem, but can't at the moment find it in bugzilla.

Martin

On 4/4/07, Leon Zhang <[email protected]> wrote:
Hello,
   I have been trying to export packet datas to .pdml type file from
wireshark, but there are some illegal characters in exported file. for
example,

<field name="tcp.analysis.retransmission" showname="This frame is a
(suspected) retransmission" size="0" pos="38" show="]Å
Ðøµ/ Î57%2522%253A%2522%25u770B%25u56FE%25u8BF4%25u4E8B%2522%257D%255D%257D;
TurnAD59=visit:1; COUPLET=visits:7"/>

   So, I met some errors when i parsed this .pdml file by JDK SAXParser, for
example,

org.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8 sequence.
  Line number: 9428
Column number: 129
 Public ID: null
 System ID: file:/home/workspace/PdmlParser/pdmls/112007-
03-30-13.56.08.531.pdml
Invalid byte 2 of 2-byte UTF-8 sequence.

How can i do?

Greetings,
Leon