Strange behavior in console with UTF-8

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 24 18:03:06 PDT 2016


On 03/24/2016 05:54 PM, Jonathan Villa wrote:

 > I'm using WCHAR instead of CHAR
 > with the hope to get less problems in the future.

Try char:

     char[] readerBuffer;

 > Also I tried stdin.flush()

flush() has no effect on input streams.

Ali



More information about the Digitalmars-d-learn mailing list