Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 299 Bytes

nkf.md

File metadata and controls

21 lines (13 loc) · 299 Bytes

NKF

Options

  • --oc=<encoding>: Specify the output encoding
  • --overwrite[=SUF]: Preserve timestamp of original files

Adding and Removing BOM (byte order mark)

nkf-add-bom.sh:

$ nkf --overwrite --oc=UTF-8-BOM $@

nkf-del-bom.sh:

$ nkf --overwrite --oc=UTF-8 $@