We're now a non-profit! Support open source packet analysis by making a donation.

Wireshark-users: Re: [Wireshark-users] Encoding problem of exported .pdml file

From: "Martin Mathieson" <martin.r.mathieson@xxxxxxxxxxxxxx>
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.


On 4/4/07, Leon Zhang <leon.zwq@xxxxxxxxx> wrote:
   I have been trying to export packet datas to .pdml type file from
wireshark, but there are some illegal characters in exported file. for

<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

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-
Invalid byte 2 of 2-byte UTF-8 sequence.

How can i do?