[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is it possible to add utf-8 lua source file support in lua 5.2?
- From: David Given <dg@...>
- Date: Tue, 28 Sep 2010 17:42:18 +0100
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