What library functionality would you most like to see in D?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sun Aug 7 06:21:25 PDT 2011
On 8/7/11 5:08 AM, Dmitry Olshansky wrote:
> On 07.08.2011 12:09, Mehrdad wrote:
>> A readText() function that would read a text file (**and** autodetect
>> its encoding from its BOM) would be of great help.
>>
> Well the name is here, dunno if it meets your expectations:
> http://d-programming-language.org/phobos/std_file.html#readText
I think we could and should change readText to do the BOM trick. It's
been on my mind forever.
Andrei
More information about the Digitalmars-d
mailing list