summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/execute_process/Encoding.cmake
Commit message (Collapse)AuthorAgeFilesLines
* execute_process: Change default ENCODING to UTF-8Brad King2024-09-161-0/+3
| | | | | | | | | | | | | Windows is heading toward making UTF-8 the preferred MBCS. As CMake's internal encoding, `UTF-8` is effectively equivalent to `NONE`, which was CMake's behavior prior to 3.15's accidental change to `AUTO`. Behavior of `ENCODING UTF-8` is independent of CMake's internal encoding, making it in principle a better default than `NONE`. Add policy CMP0176 for compatibility and to document the default's history. Fixes: #26262
* Tests/RunCMake/execute_process: Add test for ENCODING AUTOBrad King2024-09-131-5/+13
| | | | | On Windows the AUTO encoding is based on the console code page, so run the test in an isolated console window.
* Tests/RunCMake/execute_process: Improve test for ENCODING UTF-8Brad King2024-09-121-2/+2
| | | | Generalize the test infrastructure. Add Chinese text to the sample.
* execute_process: Add ENCODING option for Windows child process outputDāvis Mosāns2016-11-301-0/+6
Different applications can use different output encodings.