https://issues.dlang.org/show_bug.cgi?id=19151 --- Comment #1 from Bastiaan Veelo <Bastiaan at Veelo.net> --- I can confirm this. Not sure whether this workaround is right, but it works: commandLine.toUTFz!(wchar*) --