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

Sum Proxy <sum.pr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sum.pr...@gmail.com
           Hardware|x86_64                      |x86

--- Comment #12 from Sum Proxy <sum.pr...@gmail.com> ---
The issue still exists in 
DMD32 D Compiler v2.065, Windows 7

==============
Code:
==============
import std.stdio;
import std.c.windows.windows;

extern(Windows) BOOL SetConsoleOutputCP( UINT );

void main() {
    SetConsoleOutputCP( 65001 ); // or use "chcp 65001" instead
    stderr.write("STDERR:Output utf-8 accented char \u00e9\n... and the rest is
cut off!\n");
    stderr.write("end_STDERR.\n");
}
==============
Output:
==============
STDERR:Output utf-8 accented char é
... and the rest is cut off!

==============

end_STDERR.\n 
is not written

--

Reply via email to