On Saturday, 29 September 2018 at 23:46:26 UTC, helxi wrote: > Thanks. Would you say > https://dlang.org/library/std/encoding/get_bom.html is useful > in this context? Eh, not really, most text files will not have one.