----- Original Message -----
From: <g.kruckow@xxxxxx>
To: <ethereal-users@xxxxxxxxxxxx>
Sent: Thursday, March 22, 2001 5:33 AM
Subject: [Ethereal-users] Bug in display ASCII by tcp-follow ???
> Hello,
> if you use tcp-follow in the attached trace, (in "Contens of TCP..") the
> packet 16 can't decode in ASCII (can't see anything of packet 16) but in
> HEX can you see the data of packet 16. If you "print in file" you can see
> all data.
>
> My question:
> Why? And have you a resolution?
Okay, there is a bug in how the GtkText widget (which we use
for the hex dump in the main window and in the Follow TCP Stream
window) displays non-printable characters. Furthermore,
GtkText's idea of printable is not the same as MSVCRT's idea
(using isprint()).
I have a patch to the source code (attached) which fixes the symptoms,
but doesn't do anything to fix the underlying problem. I'll probably
end up checking in this hack^H^H^H^Hfix, even though I should
fix the GtkText widget instead.
--gilbert
Attachment:
win32.gtktext.diff
Description: Binary data