Jeff King <peff@xxxxxxxx> writes: > On Thu, Oct 27, 2011 at 11:47:27AM -0700, Junio C Hamano wrote: > >> Jeff King <peff@xxxxxxxx> writes: >> >> > I'm tempted to detect the UTF-{16,32}{LE,BE} by their BOM, reencode them >> > to utf8, and then display them in utf8. Is that too gross for us to >> > consider? >> >> I tend to think so; it is entirely a different matter if the user >> instructed us to clean/smudge UTF-16 payload into/outof UTF-8. > > Minor nit, but this is just for diff, so it is not about clean/smudge > but rather about doing something like textconv. I can understand if some tools in the Windows land prefer to work with these encodings, so clean/smudge to have the checkout in these encodings would be a reasonable thing not just diff but things like grep. On the other hand, I do doubt the sanity of these people if they want to have in-repository representation also in these encodings. So I do not think "it is just for diff" is any improvement. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html