Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Unix command files, UTF-8, and the byte order mark' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Unix command files, UTF-8, and the byte order mark
Authored by: palahala on Apr 08, '09 12:59:09AM

Or if you open a HTML file with no BOM, it could scan for the <meta> header specifying the encoding. Likewise, if it opens XML, it could interpret the encoding attribute.

In fact, I wonder which is considered to be authoritative: the BOM or the encoding as specified in the file.

[ Reply to This | # ]