Reply to Dee, > O.K. but let say we want to check for invalid file (binary and not > ascii). How can I do it? Thank you, Dee Girl > http://www.digitalmars.com/d/1.0/phobos/std_utf.html validate might be a start