Page MenuHome GnuPG
Feed Advanced Search

Dec 11 2015

andreaerdna reopened T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows as "Open".
Dec 11 2015, 3:43 PM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg
andreaerdna added a comment to T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows.

It sounds great!

So this patch, as the previous one, solves the "incorrect display of GPG 2
output translated into another language" (as reported here and previously also
in Issue 1373 and Issue 1674).

Does this patch solve also the "incorrect display of filenames with non ASCII
characters" (as reported here and previously also in Issue 1409)?

By the way, as I understand, this patch doesn't fix:

  • the more critical "passphrase with non ASCII characters" problem (as reported

only here, see T1691 (andreaerdna on Aug 19 2014, 02:36 AM / Roundup)); does this bug need a
dedicated new Issue to be addressed and solved?

  • the "utf-8 encoding of encrypted filenames" / "strange behaviour of --utf8-

strings, --no-utf8-strings and --charset options" (as reported in Issue 1409 ad
probably similar to Gpgtar Issue 1624 / Gpa Issue 2185)

  • the "charset weirdness searching keyserver for some non-ASCII user IDs under

non-UTF-8 locales" (as reported in Issue 1514).

Dec 11 2015, 3:43 PM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg

Aug 25 2014

andreaerdna added a comment to T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows.

Thanks Andre for the patch!

I managed to build gpg4win with the patch added and I verified that it seems to
solve the problem reported by me and also in Issues 1373 and 1674!

But I'd like to summarize the problems related to the charset / codepage on MS
Windows of which I am aware, as a reminder:

  1. incorrect display of GPG 2 output translated into another language (also

reported in Issue 1373 and Issue 1674): fixed by your patch;

  1. passphrases (both for secret keys and symmetrical encryption) with non ASCII

characters set using GPG 1.4.18 are considered not valid using GPG 2.0.26 and
vice versa

  1. incorrect display of filenames with non ASCII characters (also in Issue 1409)
  1. GPG 2.0.26 and 1.4.18 ignore or weirdly comply with --utf8-strings, --no-

utf8-strings or --charset options for utf-8 encoding of encrypted filenames (see
Issue 1409)

  1. charset weirdness searching keyserver for some non-ASCII user IDs under non-

UTF-8 locales (see Issue 1514 - although relates to Linux it seems to occur also
on Windows, both CLI and GPA but not Kleopatra)

Hope this will help to improve the great GnuPG :-)

Aug 25 2014, 4:29 AM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg
andreaerdna added a project to T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows: gnupg (gpg14).
Aug 25 2014, 4:26 AM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg

Aug 19 2014

andreaerdna added projects to T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows: gpg4win, gnupg (gpg20).
Aug 19 2014, 2:36 AM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg
andreaerdna renamed T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows from Charset / codepage problem in GnuPG 2.0.26 localized in italian on MS Windows to Charset / codepage problems in GnuPG 2.0.26 on MS Windows.
Aug 19 2014, 2:36 AM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg
andreaerdna added a comment to T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows.

Thanks Werner. I had already done a search among the issues using the world "charset", but the 1373 issue was
not displayed.

However the bug occurs more problematically with passphrases: a secret key passphrase with non ASCII characters
set using GPG 1.4.18 for a given key is considered not valid using GPG v 2.0.26 to deal with the same key and
vice versa.
I think this problem may cause a lot of trouble to users.

The bug also occurs using filenames in which there are characters outside the ASCII block. This occurs also
setting LC_MESSAGES=C or LC_MESSAGES=en_US.UTF-8 (i.e. gpg -vvvv --verify C:\Users\Andrea\Downloads\gpg4win-
2.2.2-beta37_è_.exe.sig -> "gpg: assuming signed data in `C:\\Users\\Andrea\\Downloads\\gpg4win-2.2.2-
beta37_Þ_.exe'" in which are also wrongly displayed double backslashes instead of single) and also with gpg
1.4.18 (but without the double backslashes). Luckily this does not prevent the signature verification. It's
similar to T1409.

Some additional information:

the CHCP command executed at the Windows command prompt reports: "Tabella codici attiva: 850" (active codepage
850);

using the -vvvv option with the --verify command, gpg 2.0.26 and 1.4.18 report: "gpg: using character set
`CP850'".

Aug 19 2014, 2:36 AM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg

Aug 17 2014

andreaerdna added a comment to T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows.

GnuPG 2.0.26 (part of Gpg4win 2.2.2-beta37, but the --version command
incorrectly reports Gpg4win 2.2.2-beta33) on MS Windows 7 64 bit SP1 seems to
have the usual annoying bug related to a charset / codepage translation problem
when localized in a language other than english (italian, in my case).

For instance, the character "è" 'LATIN SMALL LETTER E WITH GRAVE' [(U+00E8) |
UTF-8 0xC3 0xA8 (c3a8) | CP850 8a] is wrongly displayed as the character "Þ"
'LATIN CAPITAL LETTER THORN' [(U+00DE) | UTF-8 0xC3 0x9E (c39e) | CP850 e8]

GnuPG 1.4.18 (binary from gnupg.org) does not have the above problem.

My system:
Windows 7 64 bit SP1
Localization: Italy - italian
Command prompt codepage: 850

Aug 17 2014, 5:46 AM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg

Aug 16 2014

andreaerdna added a comment to T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows.

Aug 16 2014, 11:26 PM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg
andreaerdna added projects to T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows: gnupg, Bug Report.
Aug 16 2014, 11:25 PM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg
andreaerdna set Version to 2.0.26 on T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows.
Aug 16 2014, 11:25 PM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg
andreaerdna added a comment to T1691: Charset / codepage problems in GnuPG 2.0.26 on MS Windows.

Aug 16 2014, 11:25 PM · gnupg (gpg14), gnupg (gpg20), Windows 32, Windows, gpg4win, Bug Report, gnupg

Aug 14 2014

andreaerdna added projects to T1687: GnuPG 2.0.24 instead of 2.0.26 erroneously reported in Home page: gpgweb, Bug Report.
Aug 14 2014, 4:23 PM · Bug Report, gpgweb