From d67519fce8ba955d871f253fca1741c27b486a33 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 12 Sep 2024 14:06:15 -0400 Subject: Help/command/execute_process: Improve formatting of ENCODING names --- Help/command/execute_process.rst | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Help/command/execute_process.rst b/Help/command/execute_process.rst index 98430c5..c02dbba 100644 --- a/Help/command/execute_process.rst +++ b/Help/command/execute_process.rst @@ -141,19 +141,26 @@ Options: Perform no decoding. This assumes that the process output is encoded in the same way as CMake's internal encoding (UTF-8). This is the default. + ``AUTO`` Use the current active console's codepage or if that isn't available then use ANSI. + ``ANSI`` Use the ANSI codepage. + ``OEM`` Use the original equipment manufacturer (OEM) code page. - ``UTF8`` or ``UTF-8`` - Use the UTF-8 codepage. + ``UTF-8`` .. versionadded:: 3.11 - Accept ``UTF-8`` spelling for consistency with the - `UTF-8 RFC `_ naming convention. + + Use the UTF-8 codepage. + + ``UTF8`` + Use the UTF-8 codepage. Use of this name is discouraged in favor + of ``UTF-8`` to match the `UTF-8 RFC `_ + naming convention. ``COMMAND_ERROR_IS_FATAL `` .. versionadded:: 3.19 -- cgit v0.12