Page MenuHome GnuPG

hex escape display of ß-character with option --with-colons
Closed, ResolvedPublic

Description

Release: 1.2.1, 1.3.1

Environment

Linux/FreeBSD

Description

--with-colons should print all characters in UTF8 encoding,
but the ß-character (\u00DF) is printed in hex-escape \x9f
instead of the 2 expected characters 0x3c 0x9f. All other
characters (umlaute etc.) are printed correctly. The last
known version which has worked correctly is release 1.0.4.

How To Repeat

Create a key with a userid containing a ß character and list
this key with the option --with-colons.

Fix

This is not a bug. The C-style escaping in --with-colon listings is required by the format of this listing. There must we a escape for certain characters anyway (i.e. linefeed and col;ons) and thus the de-escaping code is required anyway.