lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 28/09/10 17:20, Rob Kendrick wrote:
[...]
> It serves no purpose for UTF-8 documents, and it's against convention to
> add one.  It causes all these pointless head aches when people who
> insist on using broken tools complain that Lua's somehow at fault.
> 
> It's not the first time it's come up.

Entirely coincidentally, in another project I've had a bug report where
using notepad to write Java manifests would fail because the BOM at the
beginning of the file would be interpreted as a character, causing the
initial Version: field's name to change. I had to add special code to
detect them and strip them off.

They're a problem *everywhere*. Just Say No to BOMs.

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL

Attachment: signature.asc
Description: OpenPGP digital signature