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

Reply via email to