reg uses GetConsoleOutputCP, which would break the tests I wrote for find.


Any ways, I don't know a better way to read line by line from console. I'd use ReadConsoleW too, but this doesn't work with redirected handles - breaking all the tests.

Which solution would you use?

 

Regards,

Fabian Maurer