Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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

From: "Leon Zhang" <leon.zwq@xxxxxxxxx>
Date: Wed, 4 Apr 2007 13:00:51 +0800
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