Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14764
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: printf '\uFEFF' outputs invalid UTF-8 on Windows |
| Date | 2018-11-05 14:27 -0500 |
| Message-ID | <mailman.3514.1541446104.1284.bug-bash@gnu.org> (permalink) |
| References | <87sh0f5u4t.fsf@Niukka.kon.iki.fi> |
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 chet@case.edu http://tiswww.cwru.edu/~chet/
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: printf '\uFEFF' outputs invalid UTF-8 on Windows Chet Ramey <chet.ramey@case.edu> - 2018-11-05 14:27 -0500
csiph-web