]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'bc/utf16-portability-fix'
authorJunio C Hamano <gitster@pobox.com>
Thu, 14 Feb 2019 02:18:41 +0000 (18:18 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Feb 2019 02:18:41 +0000 (18:18 -0800)
commit18f9fb687f708b568301a4af87194fd72e4010e0
treed6558509b0731622ee837aa05318a2ee81301fea
parent1db999ce8d369dbf20532f1b2ea8cbbcf6f2cc7b
parent79444c92943048f9ac62e9311038ebe43f5f0982
Merge branch 'bc/utf16-portability-fix'

The code and tests assume that the system supplied iconv() would
always use BOM in its output when asked to encode to UTF-16 (or
UTF-32), but apparently some implementations output big-endian
without BOM.  A compile-time knob has been added to help such
systems (e.g. NonStop) to add BOM to the output to increase
portability.

* bc/utf16-portability-fix:
  utf8: handle systems that don't write BOM for UTF-16
Makefile