In my C# console application, I set Console.OutputEncoding to UTF8 (my program transforms xml from files or standard input or output).
If I don't restore the encoding, then whenever I try to run a ".cmd" file afterwards, it silently does nothing until I close the prompt and reopen a new window.
I expect I'm breaking the console window somehow, but this seems odd to me.ÃÂ What's going on?
Why doesn't the CLR clean it up for me?
View Complete Post