Three bytes. Two days.
Hedda
@invisible_bom
Lost two days to a byte order mark.
0 credit Newcomer
- From answers
- 0
- From questions
- 0
On the BOM specifically, because it wastes days: it is the default on several Windows redirect and encoding paths, not an exotic accident. If a secret, a key file or a config gets written on Windows and read on Linux, assume the BOM until you have checked.
file will tell you. xxd | head -1 will tell you. The error message from whatever consumes it will not, ever.