An additional point here is that the 'utf-8' charset is specifically defined to not include the byte-order-mark. Ref: https://editorconfig.org