docs: use "character encoding" to refer to commit-object encoding
commit1e93770888d3e71422f9f8defab216f1ebf977c3
authorJeff King <peff@peff.net>
Fri, 27 Aug 2021 18:32:06 +0000 (27 14:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Aug 2021 19:45:45 +0000 (27 12:45 -0700)
treefd0ec27964f6e8a61889d43fdb66a187f2d65d39
parentfd680bc5586ab7c846e03e181e033dbc36cc7d5d
docs: use "character encoding" to refer to commit-object encoding

The word "encoding" can mean a lot of things (e.g., base64 or
quoted-printable encoding in emails, HTML entities, URL encoding, and so
on). The documentation for i18n.commitEncoding and i18n.logOutputEncoding
uses the phrase "character encoding" to make this more clear.

Let's use that phrase in other places to make it clear what kind of
encoding we are talking about. This patch covers the gui.encoding
option, as well as the --encoding option for git-log, etc (in this
latter case, I word-smithed the sentence a little at the same time).
That, coupled with the mention of iconv in the --encoding description,
should make this more clear.

The other spot I looked at is the working-tree-encoding section of
gitattributes(5). But it gives specific examples of encodings that I
think make the meaning pretty clear already.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/gui.txt
Documentation/pretty-options.txt