Status: Fix encoding of error strings on Windows

Use FormatMessageW and convert to our internal narrow encoding.

Issue: cmake/cmake#26732 (closed)
Topic-rename: status-message-encoding

Edited by Brad King

Merge request reports

Loading