Skip to content

0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Jul 17:20

Add support for UTF-16 files, and make sure lines that differ only in their terminator (\n vs \r\n) are considered equal.

  • Zet looks for Byte Order Marks in UTF-8, UTF-16LE and UTF-16BE files, translating UTF-16LE and UTF-16BE to UTF-8. It outputs a (UTF-8) Byte Order Mark if and only if it finds one in its first file argument.
  • Zet strips off the line terminator (\n or \r\n) from each input line. On output, it uses the line terminator found in the first line of its first file argument (or \n if the first file consists of a single line with no terminator).