Hacker News new | past | comments | ask | show | jobs | submit login

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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: