[kleopatra] [Bug 360364] Kleopatra displays an error report received from gpg in gibberish after clicking "refresh OpenPGP certificates". .

Andre Heinecke bugzilla_noreply at kde.org
Wed Jul 18 10:26:35 BST 2018


https://bugs.kde.org/show_bug.cgi?id=360364

Andre Heinecke <aheinecke at intevation.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/kle
                   |                            |opatra/289efa360f6b15a3389e
                   |                            |a2f2efede352711e7d7e

--- Comment #5 from Andre Heinecke <aheinecke at intevation.de> ---
Git commit 289efa360f6b15a3389ea2f2efede352711e7d7e by Andre Heinecke.
Committed on 18/07/2018 at 09:26.
Pushed by aheinecke into branch 'master'.

Another try to fix windows encoding mess

We now put GnuPG's output through a central conversion
function so that we have a place to modify when things
change.

The Problem is that on my western windows system GnuPG
gets CP 437 as GetConsoleOutputCP and prints in that codepage.
We get 0 as GetConsoleOutputCP and 1252 with GetACP.

The only thing that seemed to somehow match was GetOEMCP but
that might just be luck and it might still be broken in
other windows languages.

Using --display-charset utf8 does not work (even when fixing
the argument order) and is also not available for GPGSM.

M  +1    -1    src/commands/dumpcertificatecommand.cpp
M  +5    -4    src/commands/gnupgprocesscommand.cpp
M  +51   -0    src/utils/gnupg-helper.cpp
M  +6    -1    src/utils/gnupg-helper.h

https://commits.kde.org/kleopatra/289efa360f6b15a3389ea2f2efede352711e7d7e

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kdepim-bugs mailing list