www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13493] New: DMD fails to open files with non-ASCII

https://issues.dlang.org/show_bug.cgi?id=13493

          Issue ID: 13493
           Summary: DMD fails to open files with  non-ASCII characters on
                    Windows
           Product: D
           Version: unspecified
          Hardware: Other
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: sludwig outerproduct.org

This is obviously related to the DMC runtime library (snn.lib). It pretty 
freqently gets reported by mostly Russian speaking DUB users, because their 
home directory contains Cyrillic characters.

DMD only accepts files that contain ASCII characters (maybe even LATIN1). 
Everything else results in an error message similar to this:

$ dmd тєѕт.d
Error: cannot read file ????.d

Reproducible with any Cyrillic character.

See also https://github.com/D-Programming-Language/dub/issues/420

--
Sep 18 2014