On 11-01-04 08:08 PM, Tony Morris wrote: > I am reading files with System.IO.readFile. Some of these files start > with a UTF-8 Byte Order Marker (0xef 0xbb 0xbf). There is System.IO.utf8_bom for that. Of course, then you can't use readFile; but you can use openFile and hGetContents.