C++ Logo

sg16

Advanced search

Re: [SG16] Questions for LEWG for P2093R4: Formatted output

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sat, 20 Mar 2021 19:38:40 -0700
On Saturday, 20 March 2021 07:51:06 PDT Victor Zverovich via SG16 wrote:
> Moreover, the locale encoding is completely irrelevant here because printf
> doesn't take it into account at all.

Strictly speaking, that's implementation-defined. You can reopen stdout with
the ",css=<codec>" flag to fopen to cause transcoding to happen.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering

Received on 2021-03-20 21:38:49