https://issues.dlang.org/show_bug.cgi?id=12990
--- Comment #19 from Vladimir Panteleev <[email protected]> --- (In reply to Sum Proxy from comment #18) > scanf and strlen rely on '\0' to indicate string termination, but I don't > think this goes well with unicode strings. Not true. At least, not true with UTF-8, which is what we set the CP to. > I believe the right way to do something similar (without buffer length) is > this: I would not say that's the "right" way. That's the way to read wchar_t text, but we need UTF-8 text. --
