Charset Problems

Werner Koch wk at
Wed Dec 11 15:05:01 CET 2002

On Tue, 10 Dec 2002 22:49:35 +0000, Ramon Amat said:

> started to get strange for Marin_Z @___I assume that gpgme has
> problems to represent the passed content or does not support this type

gpgme uses utf-8 encoding.  Your application must take care to convert
it an approriate charset when displaying or entring a string.
GnuPG does this conversion and quotes invalid characters.

> gpg: please see for more information
> pub  2048R/E739D21D 1999-12-11 Martin \x8ealoudek <martin_Z at>
> uid                            Martin \x8ealoudek <pmhzal at>

Furthermore, I bet that this user ID is not correctly encoded.  PGP
for example does not get it right and does always assume Latin-1.
BTW, did anyone check whether PGP 8 fixes this.

IIRC, Miguel implemented heuristics in GPA to workaround bad encodings
right before displaying.



More information about the Gnupg-devel mailing list