What library functionality would you most like to see in D?

Nick Sabalausky a at a.a
Sun Aug 7 23:35:03 PDT 2011


"Mehrdad" <wfunction at hotmail.com> wrote in message 
news:j1lh84$2n2j$1 at digitalmars.com...
>A readText() function that would read a text file (**and** autodetect its 
>encoding from its BOM) would be of great help.
>

http://www.dsource.org/projects/semitwist/browser/trunk/src/semitwist/util/io.d#L24

I agree a function like that needs to be in Phobos, though.




More information about the Digitalmars-d mailing list