From: Junio C Hamano Date: Thu, 14 Feb 2019 02:18:41 +0000 (-0800) Subject: Merge branch 'bc/utf16-portability-fix' X-Git-Tag: v2.21.0-rc1~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18f9fb687f708b568301a4af87194fd72e4010e0;p=git 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 --- 18f9fb687f708b568301a4af87194fd72e4010e0