https://issues.dlang.org/show_bug.cgi?id=13512
--- Comment #3 from Vladimir Panteleev <[email protected]> --- DMD is not going to change existing standards, but it can choose to not follow them. After all, you don't expect to have a working KOI-8 shebang on a UTF-16 source file? You can work around this issue as follows: sudo ln -s /opt/dmd/пробы /opt/dmd/tests then using #!/opt/dmd/tests/rdmd as your shebang. --
