[Github-comments] [geany] Under Windows geany couldn't open file which was found by grep utility (Cygwin) with non ascii filename. (#783)

Enrico Tröger notifications at xxxxx
Sat Jan 2 21:01:32 UTC 2016


For the Linux part, even `grep` on the command line doesn't find text in a Windows-1251 encoded text file on my system. And this is when I pass a plain ASCII search term to `grep`.
It seems `grep` treat these files as binary files and in Geany we explicitly ignore binary files (via command line parameter -I). If you add "-a" to the extra options field in the FiF dialog, `grep` will treat binary files as text files and the search seems to work, at least in my case.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/783#issuecomment-168427978
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160102/45f8ba73/attachment.html>


More information about the Github-comments mailing list