JSON parser grammar

David-Sarah Hopwood david-sarah at jacaranda.org
Fri Jun 12 18:50:13 PDT 2009


John Cowan wrote:
> Wes Garland scripsit:
> 
>> What about the 32 code points designated as non-characters? 1FFE, 1FFF,
>> 2FFE, 2FFF.... 10FFE, 10FFF
> 
> The set of noncharacters amounts to exactly 66: U+FDD0..U+FDEF and xFFFE..xFFFF
> where x = 0 to 10 (hex).
> 
>> If I understand correctly, the BOM and FFFF mentioned earlier in this thread
>> are merely special instances of these characters.
> 
> Yes.

BOM is not a noncharacter. (I think Wes is probably confusing U+FEFF with
its byte-reversed encoding, U+FFFE.)

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com



More information about the es5-discuss mailing list