Skip to content

Can't find in non-utf8 files #260

Open
@irudoy

Description

@irudoy

ACK can't find search_string in file with contents:

абвгдежз
search_string

(file encoding is Windows 1251)

ack "search_string" /path/to/dir/with/file -R
grep "search_string" /path/to/dir/with/file -R

If you delete one character from the first line, or the whole line, then everything will work.

ack 2.18
macOS 10.12.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions