Prevent opening binary/other garbage files

Adam D. Ruppe destructionator at gmail.com
Sun Sep 30 03:19:11 UTC 2018


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.


More information about the Digitalmars-d-learn mailing list