cpangrep icon indicating copy to clipboard operation
cpangrep copied to clipboard

Fix UTF-8 handling

Open dgl opened this issue 11 years ago • 0 comments

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.

dgl avatar Jul 25 '12 20:07 dgl