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: "Anders Broman (TN/EAB)" <anders.broman@xxxxxxxxxxxx>
Date: Fri, 6 Feb 2004 10:43:13 +0100
Hi,

..."showing 0xF9 as \xF9 rather than \371." 

would be preferable to me as I'm not used to octal codes and would align better
to the byte view. But it's no big issue.
Best regards
Anders




-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Guy Harris
Sent: den 5 februari 2004 23:17
To: Ethereal development
Subject: Re: [Ethereal-dev] RE: [Ethereal-cvs] cvs commit: ethereal/epan
s trutil.c



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.

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev

This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.