Release: 1.2.1
Environment
PIII W95/W98 CP850/CP1252
Description
Hi,
there seem to be some errors in the --with-colons output of GPG-made keys, which contain high ASCII chars (e.g. umlauts) - W9x/GPG v1.2.1.
I've placed a test -key at:
http://www.jumaros.de/download/test-key.asc
and also a screenshot if this message at:
http://www.jumaros.de/download/message.png
because the high ASCII chars in this message may be damaged after the mail-transfer.
The test-key has the primary User-ID "äöü ß §". In a --with-colons listing this ID is displayed as: "Â\x84Â\x94Â\x81 á õ". You can see that the HEX-escaped german umlauts have an additional "Â" char in front of them and that the "ß" und "§" chars are not HEX escaped, but
also have a common additional char "Ã". Is it possible that not escaping "ß" und "§" and the additional "Ã" and "Ã" chars are errors?
Another thing is that, although the whole --with-colons output is already in CP1252, the re-converted HEX-values are CP850, so that an additional codepage conversion is necessary to get a proper CP1252 output. This may result in wrong User-IDs.
Thanks for reading this.
BTW: This text above was also sent earlier today via mail to submit@bugs.guug.de (because of the corresponding instructions in the FAQ). The above mentioned files are also in the ZIP, which is attached to this report.
Fix
--with-colons does no conversion at all and prints the UTF-8.
All strings in the colon output are subject to C style escaping.