C++ Logo

SG16

Advanced search

Subject: Re: Questions for LEWG for P2093R4: Formatted output
From: Victor Zverovich (victor.zverovich_at_[hidden])
Date: 2021-03-21 08:40:44


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

Interesting, would it be standard-compliant? In any case, MSVC doesn't do
it according to the test.

- Victor

On Sat, Mar 20, 2021 at 7:38 PM Thiago Macieira via SG16 <
sg16_at_[hidden]> wrote:

> 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
>
>
>
> --
> SG16 mailing list
> SG16_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/sg16
>



SG16 list run by sg16-owner@lists.isocpp.org