Wireshark-bugs: [Wireshark-bugs] [Bug 2921] Copy (Printable Text Only) Strips Out Tabs

Date: Thu, 2 Oct 2008 02:35:31 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2921





--- Comment #1 from Jaap Keuter <jaap.keuter@xxxxxxxxx>  2008-10-02 02:35:28 PDT ---
Anything with a byte code between 0x20 and 0x7E is considered printable. Tab is
a control character to request the presenting terminal to insert a certain
amount of whitespace. Like all other control characters, it's not printable by
itself, it's directing the presentation of printable characters.

That said control character NL (byte code 0x0a) is already handled separately
(see proto_draw.c:copy_hex_bytes_text_only()), so this one could be too. Only
remaining question to answer is: what should the Tab size be? Let the religious
wars begin.

PS: This is just the reason I don't like tabs, so I'm voting against it, but
that's just me.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.