deprecating std.stream, std.cstream, std.socketstream

Oleg Kuporosov Oleg.Kuporosov at gmail.com
Sun May 13 22:22:35 PDT 2012


On Sunday, 13 May 2012 at 21:39:07 UTC, Walter Bright wrote:

> 3. overlapping functionality with std.stdio

unfortunatelly std.stdio under Windows couldn't handle 
UTF16(wchar)-based file names and text IO which are naturel 
there. The root of issues looks in both underlying DMC C-stdio 
(something wrong with w* based functions?) and std.format which 
provides only UTF8 strings. It make sense to depreciate for 
reasons but only after std.stdio would support UTF16 names/flows 
or good replacement (Steven's std.io?) would be ready. Currently 
std.[c]stream is only the way to work with UTF16 filesystems in 
Phobos. Or switch to Tango which looks supports it too (but I 
don't have expirience here).




More information about the Digitalmars-d mailing list