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.
Comment #1 by robert.schadek — 2024-12-01T16:36:24Z