Double-encoding of uids

Werner Koch wk at gnupg.org
Wed Oct 31 14:07:06 CET 2007


On Wed, 31 Oct 2007 12:42, hanno at hboeck.de said:
> Sie benutzen den Zeichensatz `iso-8859-1'

> Bug in gpg?

I doubt that.  The code to detect the character set is straightforward
and I have never heard of any problems on modern systems.  You might
want to check with your GNU/Linux distributor.  Check that config.h has
these lines:

/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#define HAVE_LANGINFO_CODESET 1

I theory it is possible that due a a failure of the iconv function gpg
falls back to Latin-1.  If you want to debug the problem, set a
breakpoint at set_native_charset and also watch for changes of
active_charset_name in util/strgutil.c.


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-devel mailing list