Sending Unicode through Windows Pipes
Passing unicode data through Windows Pipes sometimes requires special handling to avoid having the pipes scramble the data. We can see this using the cmd prompt and navigating to a path containing unicode characters. The unicode characters cannot be typed, or rendered on screen (showing as question marks instead), though we can use tab complete to type the unicode path. If we are passing data from one program to another through a pipe controlled through a CreateProcess call, we can…