Make git diff show UTF8 encoded characters properly

git is dumping out raw bytes. In this case, it doesn’t care what your file’s encoding is. The highlighted <F6> you’re seeing is coming from less, which is presumably configured as your PAGER. Try setting:

LESSCHARSET=UTF-8

Leave a Comment