> From: Ralph Corderoy <ra...@inputplus.co.uk> > Date: Sun, 24 Feb 2019 12:37:06 +0000 > > > With the code page set to 65001 (UTF-8), > > Using `chcp' or changing the registry?
I don't think it matters. > https://ss64.com/nt/chcp.html suggests CMD may have trouble compared to > Powershell? It isn't CMD that writes the text, its grotty. > > Any ideas as to what could be happening? > > What if you have a C program that writes to a `binary' stdout a UTF-8 > byte sequence and run that at CMD? That removes groff. In general, you will see the same. As I said, you need to use Unicode APIs to reliably write UTF-8 to the Windows console device.