chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] BOM in a Scheme source file


From: Pierpaolo Bernardi
Subject: Re: [Chicken-users] BOM in a Scheme source file
Date: Sun, 9 Sep 2007 06:28:09 +0200

On 9/9/07, Graham Fawcett <address@hidden> wrote:
> On 9/8/07, Pierpaolo Bernardi <address@hidden> wrote:
> > UTF8 has no BOM.  A BOM in a utf8 file should be there only if you
> > put it there.
>
> Not true.
>
> http://en.wikipedia.org/wiki/Byte_Order_Mark

UTF8 is defined by the Unicode consortium, not by wikipedia.

See here for example: http://unicode.org/faq/utf_bom.html#29

which says that you can put a bom in a utf8 file (of course, you can
put whatever character you want in a file), but it is a character
like every other character, it has no particular meaning wrt the encoding.

Then, maybe chicken could consider U+FFFE as whitespace, to work
around this bug in scite, and maybe other broken tools.

P.




On 9/9/07, Graham Fawcett <address@hidden> wrote:
> On 9/8/07, Pierpaolo Bernardi <address@hidden> wrote:
> > UTF8 has no BOM.  A BOM in a utf8 file should be there only if you
> > put it there.
>
> Not true.
>
> http://en.wikipedia.org/wiki/Byte_Order_Mark
>
> G
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]