Jeff King [off-list ref] writes:
One thing I almost did in the example I gave above was to literally call
the encoding name by a "real" one. I.e.:
echo '*.txt working-tree-encoding=iso-8859-1' >.gitattributes
git config encoding.iso-8859-1.replace latin1
or something. But I wondered if it was a little crazy as a practice,
since mapping "iso-8859-1" to "utf-8" is probably going to lead to
headaches.
But your example above of semantically equivalent variants with
different spellings would be a good use of that trick.
Yeah, I think the above looks quite sensible.