RE: https://infosec.exchange/@geraldcombs/117645491039590981 This feature was an...

@geraldcombs@infosec.exchange

RE: infosec.exchange/@geraldcombs/

This feature was an interesting bit of human interface design. In normal, ASCII-only hex dumps, each glyph is one byte and one cell width, assuming you're not a maniac using a mixed-width font. For UTF-8, each glyph? character? symbol? grapheme cluster? might be represented by more than one byte and take up more than one cell width. How do you represent that?

One way would be to draw a box around the glyph. This is fine on its own, but in a dump you end up with a stack of boxes that resemble a brick wall. An alternative would be to use the glyph itself to mark the start position and something else to mark the end. Maybe something like a closed mathematical interval "😀 ]" or an engineering dimension "😀──┤"?

In the end it came down to an opinion. I liked the bracket.