Home GnuPG

Ask gpgconf for the console output codepage used by gpg on Windows

Description

Ask gpgconf for the console output codepage used by gpg on Windows

This will fail for old versions of gpgconf. In this case we fall back
to QString::fromLocal8Bit() which will probably give as wrong results
as using GetOEMCP() or GetACP() on a modern Windows system using UTF-8.

Details

Provenance
ikloeckerAuthored on Dec 7 2022, 10:09 AM
Parents
rLIBKLEO52732e23f508: Add maximalValidityOfUserIDs helper
Branches
Unknown
Tags
Unknown
Tasks
T5960: Kleopatra: Encoding problems with GnuPG output on Windows