Merge branch 'jc/latin-1' into next
authorJunio C Hamano <gitster@pobox.com>
Mon, 5 Dec 2016 19:38:04 +0000 (11:38 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Dec 2016 19:38:04 +0000 (11:38 -0800)
commitfb549caa12ec67f9448f8f6b29b102ee5ec54c82
tree767fe94a398fb7f3df512f455b43252e55c61c0e
parent658b8764bf712ccdf562f43066f9907af6b6284e
parentdf3755888b9a54e69ab70881738d431587c57951
Merge branch 'jc/latin-1' into next

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