Ethereal-dev: Re: [Ethereal-dev] RE: [Ethereal-cvs] cvs commit: ethereal/epan s trutil.c

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 5 Feb 2004 14:17:19 -0800

On Feb 5, 2004, at 5:22 AM, Anders Broman (TN/EAB) wrote:

Is there a good reason for having it output as octal ?

Historical, mainly - non-printable characters are displayed as C escapes, and C had octal escapes before it had hex escapes, so old-timers are more used to the octal escapes.

wouldn't it make more sense to use hexadecimal as in the "byte view" ?

We could, showing 0xF9 as \xF9 rather than \371.