with-colons bug

Juan Pablo Giménez jpg at rcom.com.ar
Fri Oct 19 21:20:01 CEST 2001


Hi!
	I already send this mail with other subject, but nobody answer because it was too simple...

	I have a problem with the option "--with-colons" and --list-keys or
--fingerprint, if i don't use it, gpg print my last name "Giménez" with
the "é", but if I put with-colons insted of "é" gpg prints "é"... So
here is the patch to fix it...

________________________________________________________________________
--- gnupg-1.0.6/g10/keylist.c	Sun May 27 11:31:07 2001
+++ gnupg-1.0.6_rcom/g10/keylist.c	Fri Oct 12 11:42:15 2001
@@ -482,8 +482,8 @@
 		    printf("uid:%c::::::::", trustletter);
                 }
 	    }
-            print_string( stdout,  node->pkt->pkt.user_id->name,
-                          node->pkt->pkt.user_id->len, ':' );
+            print_utf8_string( stdout,  node->pkt->pkt.user_id->name,
+                          node->pkt->pkt.user_id->len);
             putchar(':');
 	    if (any)
                 putchar('\n');


________________________________________________________________________


                           Chausesssssssssss
                                      Juan Pablo....



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : /pipermail/attachments/20011019/90cdd3d3/attachment.bin


More information about the Gnupg-devel mailing list