Mailing List Archive

Re: Character set problems
Nevermind, y'all!

What I stumbled upon is that gpg correctly uses utf8 encoding,
which apparently nobody else does. I propose the following
addition to the FAQ list:

* 6.17 Why do my national characters go wrong when using other
software? My name looks funny and isn't found by searches
on the keyserver.

GnuPG encodes user id strings (and other things) using UTF-8.
In this encoding, most national characters get encoded as
two- or three-byte sequences. For example, å (0xE5 in
ISO-8859-1) becomes å (0xC3, 0xA5).

Magnus

On Tue, 12 Jun 2001, Magnus B{ckstr|m wrote:

> Date: Tue, 12 Jun 2001 12:51:11 +0200 (MET DST)
> From: Magnus B{ckstr|m <b@etek.chalmers.se>
> To: gnupg-users@gnupg.org
> Subject: Character set problems
>
> Hi,
>
> Why when I say I'm Magnus Bäckström do I turn out as Magnus Bäckström?
> gpg pretends nothing has happened and prints the correct name, but
> e g keyservers get it wrong, and when I run gpg --list-packets on my
> public key I get (excerpt):
>
> :user ID packet: "Magnus B\xc3\xa4ckstr\xc3\xb6m <b@etek.chalmers.se>"
>
> Thanks,
> Magnus B<whatever>ckstr<whatever>m
>
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>
Re: Character set problems [ In reply to ]
Hi!

2 suggestions to your proposed FAQ entry:

|| On Wed, 13 Jun 2001 10:42:13 +0200 (MET DST)
|| Magnus B{ckstr|m <b@etek.chalmers.se> wrote:

mb> GnuPG encodes user id strings (and other things) using
mb> UTF-8.

"According to OpenPGP[ and general IETF rules], GnuPG encodes ..."

mb> In this encoding, most national characters get encoded as

Most folks don't know what UTF-8 is but they have heard about Unicode,
so I suggest to add this:

"... in this encoding of Unicode, most ..."



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