[Github-comments] [geany/geany] grep couldn't find anything if used non UTF8 codepage (#1321)

elextr notifications at xxxxx
Thu Nov 24 23:42:18 UTC 2016


Actually the whole FIF thing is broken if the files being searched are not in a known encoding, we know the locale encoding and we know our buffer is UTF-8, but grep doesn't know about encodings of files it searches.  The random choice of UTF-8 or locale for the search string will only find the file if it is encoded the same way. This is NOT something we can fix, even with custom search.  Better to just document it only works for files in UTF-8 or locale encoding, whichever we choose.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1321#issuecomment-262856381
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161124/f5e32493/attachment.html>


More information about the Github-comments mailing list