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

--- Comment #4 from [email protected] ---
(In reply to ag0aep6g from comment #2)
> The issue does not manifest with a pipe: `echo รค | test` works.

It seems to be a problem with input from a TTY. Normal stdin is a TTY, but when
a pipe is used it's not. According to _isatty [1], stdin is also not a TTY when
I run things in the bash from Git for Windows. And indeed: no UTF-8 problems
there.


[1] https://msdn.microsoft.com/en-us/library/f4s0ddew.aspx

--

Reply via email to