How I fixed git-grep macOS UTF-8 support
As a speaker of Greek, I’ve been fixing issues in the handling of non-ASCII characters for over 40 years, using techniques ranging from simple lookup tables to dynamic patching of in-memory images. Here’s how I debugged and fixed the handling of UTF-8 characters in the
git grep
command, which was broken for almost a decade.
Source: How I fixed git-grep macOS UTF-8 support, an article by Diomidis Spinellis.