Home GnuPG

Fix windows 8bit encoding conversion
823e858cdf5eUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix windows 8bit encoding conversion

* src/w32-gettext.c (wchar_to_native): Convert to ConsoleOutputCP.

Just using CP_ACP did not neccessarily convert to the correct
codepage as codepages might differ between ConsoleOutput and
GUI output (which it usually does).
This fixes encoding issues on the Windows commandline.

Details

Provenance
aheineckeAuthored on Nov 30 2015, 4:09 PM
Parents
rE68827cbba208: tests: Fix read past buffer.
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rE823e858cdf5e: Fix windows 8bit encoding conversion (authored by Andre Heinecke <aheinecke@intevation.de>).Dec 7 2015, 2:30 PM
aheinecke mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:08 PM
aheinecke mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:31 PM