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

Walter Bright newshound2 at digitalmars.com
Mon May 14 19:46:11 PDT 2012


On 5/13/2012 10:22 PM, Oleg Kuporosov wrote:
> 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).


Why not just convert the UTF16 strings to UTF8 ones? They have the same information.


More information about the Digitalmars-d mailing list