Re:Code Pages, Character Encoding, Unicode, UTF-8 and the BO...
by mark-r on Wednesday November 20, 2019 @01:37PM
(#21586915)
The nice thing about the BOM is you can't get it accidentally in an ASCII file - all the bytes have the upper bit set but all ASCII characters have that bit as zero. It makes an excellent magic number for that reason. It's probably just as unlikely to come up in other encodings that use the upper bit.
[ Parent
| on HN ]
There are no comments on this comment yet.