Re: [PATCH v1] convert: add support for 'encoding' attribute
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 18, 2017, 18:02 UTC
- Message-ID
- <xmqqzi6fykx1.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20171218101334.GA20685@tor.lan>
Torsten Bögershausen <tboegi@web.de> writes:
> Just to confirm my missing knowledge here: > Does this mean, that git-gui and gitk can decode/reencode > the content of a file/blob, when the .gitattributes say so ?
These programs, when told that a file is in an encoding, read bytes from that file and interpret that byte sequence in the given encoding, and blits the corresponding glyphs on the screen---giving UTF-8 out is not the primary feature of them, so I am not sure decode/reencode is a good term to use here.