* Import keyanalyze into signing-party. Thanks to Matthew Wilcox for the
[pgp-tools.git] / gpg-key2ps / gpg-key2ps
index 2f5364590cb63c5801fb60b113944297aad13fe4..da3231c7dd8f224ac84629af26de5a3250f94018 100755 (executable)
@@ -247,6 +247,8 @@ while(<GPG>) {
                $_ = "  ($fpr) fpr\n";
        }
        # user ids
+       s/\\x([0-9a-f][0-9a-f])/ chr(hex($1)) /gie;
+       $_ = `echo "$_" | iconv -ct latin1`;
        s/^uid:[^:r]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:([^:]*):.*/     ($1) uid/;
        # revoked user id
        if (s/^uid:r[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:([^:]*):.*/ ($1) revuid/) {