gpgme key key listing issues

Gordon Worley redbird@rbisland.cx
Mon Sep 9 16:32:02 2002


On Monday, September 9, 2002, at 04:11  AM, Werner Koch wrote:

> On 08 Sep 2002 15:14:32 -0500, Jacob Perkins said:
>
>> might not be utf8 encoded, though I'm not sure. Is this what is 
>> supposed
>> to happen for non-utf8 encoded keys?  It doesn't happen all the time, 
>> it
>
> Nothing special, there is no specila handling for user IDs.  according
> to OpenPGP user Names must be encoded in in UTF-8 but a lot of tools
> (e.g. PGP) don't do so.  You might want to try Latin-1 if you find
> invalid utf-8 characters - but do this only when *displaying* a user
> ID.

Is there a simple test to see if the text has any encoding mismatches?  
For example, some encoding schemes that have been used in PGP keys will 
cause Mac GPG Keys to crash upon trying to display them (this mostly 
happens with names from North European countries like Germany, Denmark, 
Norway, Sweden, etc.).

--
Gordon Worley - Mac GPG Project
http://macgpg.sourceforge.net/              ``Doveriai no proveriai.''
redbird@rbisland.cx                                --Russian proverb
PGP:  0xBBD3B003