www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 24053] New: DMD / DUB Does not compile if windows username

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

          Issue ID: 24053
           Summary: DMD / DUB Does not compile if windows username has non
                    english character
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: tarikemirsahin34 gmail.com

When using DUB (from DMD Compiler) for compile a D project, it gives error
"Cannot create directory" and aborts compiling if windows username has a non
english character in it, Non english character gets replaced by weird symbols.
When DUB given admin permissions, it makes a new folder in C:\Users\ with same
name as windows username but non english characters gets replaced by same weird
symbols, and it compiles and creates executable as normal. This issue happens
on latest beta version of DMD (Beta 2.105.0-beta.1)

--
Jul 20 2023