Skip to content

hk util fix-byte-order-marker ​

  • Usage: hk util fix-byte-order-marker <FILES>…
  • Effect: modifies state

Remove UTF-8 byte order marker (BOM)

Arguments ​

  • <FILES>… — Files to remove BOM from

Flags ​

  • -h --help — Print help

Examples ​

This command modifies the supplied files to remove a UTF-8 BOM.

sh
hk util fix-byte-order-marker README.md

Learn more ​

Built-in linters and utilities · Troubleshooting · All commands

MIT LicenseCopyright © 2026jdx.dev