[Issue 13493] DMD fails to open files with non-ASCII characters on Windows

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 20 18:50:26 PDT 2014


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

Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com

--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
I think this issue is already reported elsewhere.

As of DMD 2.066, you can use windowsHandleOpen to create std.stdio.File objects
from arbitrary HANDLEs. This allows circumventing snn.lib's Unicode problems if
you can replace File creation with custom code.

I've done this for another reason, accessing very long paths using the UNC path
prefix: https://github.com/CyberShadow/ae/blob/master/sys/file.d#L686-L737

--


More information about the Digitalmars-d-bugs mailing list