Wireshark-dev: Re: [Wireshark-dev] Missing character in Qt GUI

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 14 Oct 2015 13:15:16 -0700

On Oct 14, 2015, at 12:23 PM, Joerg Mayer <jmayer@xxxxxxxxx> wrote:

I currently have a missing character between source and destination port in the
info column of udp and tcp. See attached screenshot.

That's the Unicode LONG RIGHTWARDS ARROW character.

In TShark, it shows up as

  1   0.000000 10.56.10.106 -> 10.56.10.222 UDP 40392⟶53 Len=43
  2   0.000784 10.56.10.222 -> 10.56.10.106 UDP 53⟶40392 Len=254
  3   5.140107 10.56.10.106 -> 10.56.10.222 UDP 40396⟶53 Len=33
  4   5.141221 10.56.10.222 -> 10.56.10.106 UDP 53⟶40396 Len=201

if you copy and paste from Terminal into this message, so it's there, but it displays oddly in Terminal on OS X 10.10:


with the LONG RIGHTWARDS ARROW overlapping with the character after it.

If I replace it with the non-long RIGHTWARDS ARROW character, it works.

I've no idea why Qt isn't handling LONG RIGHTWARDS ARROW, but perhaps we should use a NOT SO LONG RIGHTWARDS ARROW here; it has the disadvantage that it's a bit small and the advantage that it's the same width as other characters in the OS X fixed-width font I'm seeing and thus might not upset Qt or whatever is happening.