zig fmt: fix non-UTF-8 encoding #2820

Fixes #2820

After reading the source code, the first two bytes are inspected, and
if they correspond to a UTF-16 BOM in little-endian order, the source
code is converted to UTF-8.
a354000090Ersikan committed on 3/17/2021, 9:26:47 AMparentf76bd56
2 files changedLine totals unavailable