[Issue 14474] Use UTF-8 encoding for @cmdfile

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Apr 21 17:08:17 PDT 2015


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #2 from Martin Nowak <code at dawg.eu> ---
(In reply to Dāvis from comment #0)
> One solution could be to change DUB to save it in Windows default ANSI code
> page, but I think that's a very bad idea because then that file won't be
> portable.

It doesn't need to be portable, it's just used for a single compiler
invocation.

> So best would be to enforce it being in UTF-8 encoding and then decode in
> DMD for respective code page which is used for WinAPI calls.

UTF-8 sounds reasonable.

--


More information about the Digitalmars-d-bugs mailing list