VS: Custom command output encoding
Visual Studio 16.6 Preview 3 will offer a StdOutEncoding
tag that can be used to tell MSBuild
what encoding to expect from output pipes written by the custom command's tools. We need a way for CMake to know what to put in this tag.
!4587 (merged) was initially opened with a proposal to hard-code a check for cmake.exe
since we know our own tools output as UTF-8 when connected to a pipe. I'm opening this issue to discuss designs for more general solutions.