Bug 24053 – DMD / DUB Does not compile if windows username has non english character

Status
RESOLVED
Resolution
MOVED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2023-07-20T18:48:39Z
Last change time
2023-07-20T21:15:01Z
Assigned to
No Owner
Creator
Tarik

Comments

Comment #0 by tarikemirsahin34 — 2023-07-20T18:48:39Z
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)
Comment #1 by b2.temp — 2023-07-20T19:05:30Z
DUB issues are not tracked here but on Github : https://github.com/dlang/dub/issues
Comment #2 by tarikemirsahin34 — 2023-07-20T19:22:00Z
(In reply to Basile-z from comment #1) > DUB issues are not tracked here but on Github : > https://github.com/dlang/dub/issues Oh my bad, thanks
Comment #3 by b2.temp — 2023-07-20T19:50:18Z
Please, don't forget to open an issue on github then.
Comment #4 by b2.temp — 2023-07-20T21:15:01Z