Guest Yuri Plyakhin Posted October 21, 2021 Posted October 21, 2021 Hello, I have a code that runs "cl.exe" by CreateProcess. Then I parse the output from "cl.exe". All works fine with English characters. But if output contains non-English characters, I get "???????" instead of non-English characters. As I know, "cl.exe" can create two named pipes and write Unicode output to them, instead of using stderr and stdout. Also, I've read about an environment variable "VS_UNICODE_OUTPUT". As I've understand that variable causes "cl.exe" to create these two named pipes. The questions are: How can I run "cl.exe" in such mode (to get Unicode output)? What names should I use for pipes? What value should I set to "VS_UNICODE_OUTPUT", and what does this value mean? Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.