[Issue 8020] std.stdio can't open UTF16 file names in Windows

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 4 06:04:12 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8020



--- Comment #4 from Oleg Kuporosov <Oleg.Kuporosov at gmail.com> 2012-05-04 06:05:24 PDT ---
Dmitry, we should not assume the name string is in UTF8, it may be also some
another 8-bit code page in being supported in Windows, like 125x and so on.
Such encoding should be done by application itself.
What I think is to have File/open/popen( wstring, string mode ) which should 
care about UTF16 names. Surprisingly I found some links in DMC includes to
_wfopen receiving wchar_t which should exacly help here.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list