On 11/5/18 12:09 PM, Kalle Olavi Niemitalo wrote: > Bash Version: 4.4 > Patch Level: 19 > Release Status: release > > Description: > The builtin printf '\uFEFF' outputs ED 9F BF ED BB BF in a > UTF-8 locale on Microsoft Windows, where sizeof(wchar_t) == 2. > It should output EF BB BF, like printf (GNU coreutils) 8.30 > does.
Thanks for the report. This has been fixed for almost exactly two years in the devel branch, the result of http://lists.gnu.org/archive/html/bug-bash/2016-11/msg00039.html and is fixed in the bash-5.x alpha and beta versions. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/