On 19 Sep. 2017 08:59, "Ted Lemon" <mellon@xxxxxxxxx> wrote:
On Sep 18, 2017, at 6:24 PM, Adam Roach <adam@xxxxxxxxxxx> wrote:If you download a file in your web browser and save it to disk, the thing responsible for deciding whether or not to apply the BOM is the thing that did the download, not the server from which it was downloaded. The server already identified the file encoding type: utf8 (not text/utf8, sorry about that). If the thing that did the download does the wrong thing, that's not our problem.
> Unless you know something about NTFS, ext4, HFS, and exFAT that I don't, this sort of information isn't generally part of file metadata at all.
I'm away from my computer so I can't easily check, but does `wget -r` provide some sort of option to convert downloaded files in this way? I wouldn't be surprised about newline conversions, but I don't know about BOMs.
Cheers
--
Matthew Kerwin