[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [groff] devutf8 on Windows

From: Eli Zaretskii
Subject: Re: [groff] devutf8 on Windows
Date: Sun, 24 Feb 2019 17:54:20 +0200

> From: Ralph Corderoy <address@hidden>
> 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.

> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]