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

Ethereal-users: Re: [Ethereal-users] Readable-output

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Andrew Hood <ajhood@xxxxxxxxx>
Date: Sat, 11 Jun 2005 08:30:53 +1000
odin wrote:
======================
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#272a2f>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>Hello, i'm having =
trouble getting=20
tethereal to give me readable output, either straight from capturing or=20
converting a libpcap log to readable output. Any help would be =
appreciated.=20
</FONT></DIV></BODY></HTML>
======================

If you are displaying your output using junk HTML like the above I'm not
surprised. Mozilla renders this as black text on a black background.

Mailing list question:

Is it possible to strip HTML parts if there is a plain text part? eg
Content-Type: multipart/alternative;
followed by
Content-Type: text/plain;
and
Content-Type: text/html;

-- 
There's no point in being grown up if you can't be childish sometimes.
                -- Dr. Who