keepassxc/src/cli
Janek Bevendorff d3a53a702e
Set console code page to CP_UTF8 on Windows if supported. (#3050)
Previously, we enforced code page 850 for all console input and output,
which breaks with non-western scripts. Since more recent Windows shells
are able to display Unicode properly, this patch now enforces UTF-8 and
falls back to code page 850 only if UTF-8 is unsupported.

Non-Windows systems default to UTF-8, but can override the codec
by setting the LANG environment variable to something other than C.

Resolves #3049.
2019-04-25 09:28:48 +02:00
..
Add.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
Add.h Add missing 'override' for overridden functions 2018-10-31 15:16:04 +01:00
Clip.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
Clip.h Avoid copying QSharedPointers when not needed 2019-01-30 09:50:10 -05:00
CMakeLists.txt Improve resilience against memory attacks 2019-04-21 09:39:28 -04:00
Command.cpp Adding --no-password option to CLI 2019-03-24 09:23:26 -04:00
Command.h Adding --no-password option to CLI 2019-03-24 09:23:26 -04:00
Create.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
Create.h Avoid copying QSharedPointers when not needed 2019-01-30 09:50:10 -05:00
Diceware.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
Diceware.h Add missing 'override' for overridden functions 2018-10-31 15:16:04 +01:00
Edit.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
Edit.h Add missing 'override' for overridden functions 2018-10-31 15:16:04 +01:00
Estimate.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
Estimate.h Add missing 'override' for overridden functions 2018-10-31 15:16:04 +01:00
Extract.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
Extract.h Add missing 'override' for overridden functions 2018-10-31 15:16:04 +01:00
Generate.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
Generate.h Add missing 'override' for overridden functions 2018-10-31 15:16:04 +01:00
keepassxc-cli.1 Adding --no-password option to CLI 2019-03-24 09:23:26 -04:00
keepassxc-cli.cpp Adding debug info to CLI. 2019-03-24 08:35:33 -04:00
List.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
List.h Add missing 'override' for overridden functions 2018-10-31 15:16:04 +01:00
Locate.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
Locate.h Add missing 'override' for overridden functions 2018-10-31 15:16:04 +01:00
Merge.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
Merge.h Add missing 'override' for overridden functions 2018-10-31 15:16:04 +01:00
Remove.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
Remove.h Adding --quiet option to the CLI. (#2507) 2018-11-28 11:24:12 -05:00
Show.cpp Correct CLI help messages on Windows 2019-04-20 11:03:06 -04:00
Show.h CLI: add commands to show and copy TOTP to clipboard (#2454) 2018-11-09 21:58:42 -05:00
TextStream.cpp Set console code page to CP_UTF8 on Windows if supported. (#3050) 2019-04-25 09:28:48 +02:00
TextStream.h Adding --quiet option to the CLI. (#2507) 2018-11-28 11:24:12 -05:00
Utils.cpp Adding --no-password option to CLI 2019-03-24 09:23:26 -04:00
Utils.h Adding --no-password option to CLI 2019-03-24 09:23:26 -04:00