Sample code: import std.stdio; import std.file: readText; void main() { writeln(readText("foo.txt\0blah")); } The file 'foo.txt\0blah' /can't/ exist on unix (idk about windows), but foo.txt exists and is read.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10408 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB