Character set problems

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


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
>=20
> Hi,
>=20
> Why when I say I'm Magnus B=E4ckstr=F6m do I turn out as Magnus B=C3=A4ck=
str=C3=B6m?
> 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):
>=20
> :user ID packet: "Magnus B\xc3\xa4ckstr\xc3\xb6m <b@etek.chalmers.se>"
>=20
> Thanks,
> Magnus B<whatever>ckstr<whatever>m
>=20
>=20
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>=20