Last call for consensus on format-control char. issues

Brendan Eich brendan at
Wed Jun 17 10:59:53 PDT 2009

On Jun 17, 2009, at 10:54 AM, Allen Wirfs-Brock wrote:

> Sorry, I didn't intend to imply that <ZWNJ> and <ZWJ> would be  
> excluded from string literals in my simply proposal.  Their  
> occurrence in literals is already in the draft. Basically, all the  
> language from the ES3 spec. about stripping out Cf characters before  
> lexing is long gone.

Whew -- read your last words narrowly. Thanks.

> Except for treatment of <ZWNJ> and <ZWJ> as identifier characters  
> and <BOM> as Whitespace, all Cf characters are currently treated in  
> the spec. as generic Unicode characters and hence can occur in  
> string literals, regexp literals and comments.

We treat BOM as whitespace, but we do not allow ZWNJ and ZWJ as  
identifier chars. No complaints yet. This is strictly simpler. Is  
there any known user-sourced motivation for allowing ZW{,N}J in  


More information about the es5-discuss mailing list