Merge branch 'jc/latin-1'
authorJunio C Hamano <gitster@pobox.com>
Tue, 10 Jan 2017 23:24:22 +0000 (15:24 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Jan 2017 23:24:22 +0000 (15:24 -0800)
commitf01c1ff4f772617132464b554e5bac9c395b66ba
treefbed59b46464aa3a32cb7e985051b13cdc6a5056
parente05806da9ec4aff8adfed142ab2a2b3b02e33c8c
parentdf3755888b9a54e69ab70881738d431587c57951
Merge branch 'jc/latin-1'

Some platforms no longer understand "latin-1" that is still seen in
the wild in e-mail headers; replace them with "iso-8859-1" that is
more widely known when conversion fails from/to it.

* jc/latin-1:
  utf8: accept "latin-1" as ISO-8859-1
  utf8: refactor code to decide fallback encoding