https://issues.dlang.org/show_bug.cgi?id=1448

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #15 from [email protected] ---
Still an issue, but apparently restricted to stderr (and independent from
DigitalMars/MS runtime):

```
import core.stdc.stdio;
import core.sys.windows.wincon, core.sys.windows.winnls;

void main()
{
    const oldCP = SetConsoleOutputCP(CP_UTF8);
    scope(exit) SetConsoleOutputCP(oldCP);

    fprintf(stdout, "HellöѬ LDC\n");
    fflush(stdout);

    fprintf(stderr, "HellöѬ LDC\n");
    fflush(stderr);
}
```

=>

```
HellöѬ LDC
Hell
```

Tested with DMD 2.086.0 (-m32, -m32mscoff, -m64) and LDC on Win10.

--

Reply via email to