github rhysd/hgrep v0.3.7

6 months ago
  • Support many text encodings. Previously only UTF-8 was supported. (#21)
    • Add --encoding (-E) command line option to specify file encoding of matched files. For example, the following command searches files encoded in Shift JIS.
      hgrep --encoding sjis pattern path/to/dir
    • Detect file encodings from BOM. hgrep can automatically detect UTF-16LE, UTF-16BE, and UTF-8 if BOM exists in the file.
  • Fix some syntax detection fails when BOM is inserted at the head of file. (#20)
  • Improve performance by removing redundant read system calls on detecting syntax.
  • Improve error messages when failing to read files.

Don't miss a new hgrep release

NewReleases is sending notifications on new releases.