Mailing List Archive

with-colons bug
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....
Re: with-colons bug [ In reply to ]
Juan Pablo Giménez <jpg@rcom.com.ar> writes:

> 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...

I think this behavior is mostly correct. In "--with-colons" mode,
GnuPG is expected to dump the user ID as is, without further
processing.
Re: with-colons bug [ In reply to ]
En vie, 2001-10-19 a 18:03, Florian Weimer escribió:
Juan Pablo Giménez <jpg@rcom.com.ar> writes:

> 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...

I think this behavior is mostly correct. In "--with-colons" mode,
GnuPG is expected to dump the user ID as is, without further
processing.

Ok, but thats break some programs, for example Gabber (Gnome Jabber
client), who print the strings as is so it print it wrong... So, what do
you think, the problem is gnupg or for example Gabber?!?!
Re: with-colons bug [ In reply to ]
On 19 Oct 2001 19:31:02 -0300, Juan Pablo Giménez said:

> Ok, but thats break some programs, for example Gabber (Gnome Jabber
> client), who print the strings as is so it print it wrong... So, what do
> you think, the problem is gnupg or for example Gabber?!?!

Gabber does not do a conversion from utf-8 to the used character set.

Werner

--
Werner Koch Omnis enim res, quae dando non deficit, dum habetur
g10 Code GmbH et non datur, nondum habetur, quomodo habenda est.
Privacy Solutions -- Augustinus