cpangrep
cpangrep copied to clipboard
Fix UTF-8 handling
Type £ into the search box, watch the mess that ensues.
Ideally want charset guessing somehow, but also want to keep it possible to search using raw bytes, which is obviously somewhat impossible.
I think best would be raw bytes along with a warning if the search string contains anything >\x{bf} because the latin1/utf8 encoding will not be consistent.