"Mehrdad" <wfunct...@hotmail.com> wrote in message news:j1lh84$2n2j$1...@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.