Page MenuHome GnuPG

Non-ASCII characters such as ÄÖÜäöüß not portable between GPG 1.2.3 Windows/Linux.
Closed, ResolvedPublic

Description

Release: gnupg 1.2.3

Environment

Windows 2000 and Debian Linux.
(Cygnus gpg seems to give same results as does Linux gpg.)

I use gnupg-w32cli-1.2.3.zip under Windows,
and the gpg version from the Debian "unstable" distribution
on Linux.

Description

When I view a Linux-generated key under Windows, the "ü"
in my name does not come out right. When I do

gpg --charset utf-8 --list-keys

and catch the output, I get the bytes 303 274 for ü as expected - on Linux same as on Windows.

I have also tried generating a key under Windows,
gpg --charset iso-8859-1 --gen-key

That test key contains ÄÖÜäöüß in the ( ) - Part
of the user id. I'll include it as a file attachment,
see for yourself.

This key does not seem right when seen under Linux,
and it also does not comes out right when I use
--charset utf-8 (on either operating system).
It looks fine when viewed with --charset iso-8859-1
under Windows. See for yourself, I include the key
as an attachment.

To me, it seems as if the utf-8/iso-8859-1 translation code
of gpg 1.2.3 under Windows were not compatible
to that of gpg 1.2.3 under Linux.

How To Repeat

Create a key on one OS, with non-ASCII ISO-8859-1 characters
in the user id, and try to view it on the other, both with
--charset iso-8859-1.

Fix

Stick to ASCII :-( .

Release Note

GnuPG 1.4.0 makes use if the ivonv.dll (not distributed with gnupg but available at ftp.gnupg.org/gcrypt/binary) and should solve all these problems.

Event Timeline

werner added a subscriber: werner.

We hope to fix the Windows character set problems
(console/GUI) when revaming the internal translation
fucntions to a modernized versions.

werner removed a project: Stalled.

1.4.0 should fix this

werner removed a project: Restricted Project.