News for hackers. Stuff that matters.
Re:Finding CSV files that start with a BOM using ripgrep by masklinn on Saturday May 29, 2021 @10:30AM (#27325481)
It does: https://www.unicode.org/faq/utf_bom.html#bom4

Well require is a bit excessive, but it certainly allows and recommends one.

Utf8 does not need one because the code units are bytes, so bytes order is not a concern.

Exchanging utf32 is pretty rare though, and as long as you don’t move anything between machines bytes order is not an issue.

There are no comments on this comment yet.