[Issue 13493] DMD fails to open files with non-ASCII characters on Windows
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Sep 22 04:21:38 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13493
--- Comment #7 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> ---
(In reply to Vladimir Panteleev from comment #5)
> (In reply to Sobirari Muhomori from comment #3)
> > snn has problems with unicode?
>
> Yes. See issue 7648
Do you mean this line:
https://github.com/D-Programming-Language/phobos/blob/master/std/stdio.d#L3145
?
Hmm... how does it work? Accepts ansi-encoded string, transcodes it from utf8
to utf16 somehow keeping invalid utf8 sequences, then _wfopen transcodes it
back to utf8 and passes to CreateFileA?
--
More information about the Digitalmars-d-bugs
mailing list